#16213E

Charcoal

#16213ECharcoal

Luminance

0.016

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#16213E
No #
16213E

RGB

RGB
rgb(22, 33, 62)
Values
R:22 G:33 B:62

HSL

HSL
hsl(224, 48%, 16%)
Values
H:224° S:48% L:16%

HSV / HSB

HSV
hsv(224, 65%, 24%)
Values
H:224° S:65% V:24%

CMYK

CMYK
cmyk(65%, 47%, 0%, 76%)
Values
C:65 M:47 Y:0 K:76

LAB

LAB
lab(13, 6, -20)
Values
L:13 a:6 b:-20

OKLCH

OKLCH
oklch(25.4% 0.057 266.7)
Values
L:25.4% C:0.057 H:266.7°

Code Formats

CSS
color: #16213E;
Swift
UIColor(red: 0.086, green: 0.129, blue: 0.243, alpha: 1.0)
Kotlin
Color(0xFF16213E)
Flutter
Color(0xFF16213E)
Android
#FF16213E

Contrast Analysis

WCAG compliance with grayscale colors

On White

15.89:1

AAA

On Black

1.32:1

Fail

Grayscale Contrast

Aa

0%

1.3

Fail
Aa

10%

1.1

Fail
Aa

20%

1.3

Fail
Aa

30%

1.9

Fail
Aa

40%

2.8

Fail
Aa

50%

4.0

AA-large
Aa

60%

5.6

AA
Aa

70%

7.6

AAA
Aa

80%

9.9

AAA
Aa

90%

12.6

AAA
Aa

100%

15.9

AAA

Best Grayscale Contrast

#FFFFFF with ratio 15.89:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #304788 0%, #21315E 100%)
OKLCH
linear-gradient(90deg, oklch(41.5% 0.112 266.9) 0%, oklch(32.5% 0.083 267.0) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #192F6C 0%, #1C43B0 100%)
OKLCH
linear-gradient(135deg, oklch(32.7% 0.110 265.6) 0%, oklch(43.0% 0.179 264.6) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #16213E 0%, #3C3215 100%)
OKLCH
linear-gradient(90deg, oklch(25.4% 0.057 266.7) 0%, oklch(32.1% 0.047 90.6) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #15333C 0%, #16213E 50%, #1E153C 100%)
OKLCH
linear-gradient(90deg, oklch(30.2% 0.039 220.0) 0%, oklch(25.4% 0.057 266.7) 50%, oklch(23.2% 0.072 290.3) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #15203C 0%, #181C25 100%)
OKLCH
linear-gradient(180deg, oklch(24.9% 0.056 266.3) 0%, oklch(22.7% 0.019 266.2) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #293D75 0%, #283B71 100%)
OKLCH
radial-gradient(circle, oklch(37.5% 0.099 266.8) 0%, oklch(36.7% 0.096 267.0) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette