#2339AF#2339AF
#2339AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.188 H 268.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2339AF |
|---|---|
| RGB | rgb(35, 57, 175) |
| HSL | hsl(231, 67%, 41%) |
| HSV | hsv(231, 80%, 69%) |
| CMYK | cmyk(80%, 67.4%, 0%, 31.4%) |
| CIE-LAB | lab(30.35, 35.42, -64.82) |
| CIE-LCH | lch(30.35, 73.87, 298.65°) |
| OKLab | oklab(41.36% -0.0062 -0.1877) |
| OKLCH | oklch(41.36% 0.188 268.1) |
| XYZ | xyz(9.8914, 6.3776, 41.2588) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.64
Blue Blue
#2242C7
ΔE00 3.98
Ocean Blue
#4F42B5
ΔE00 5.63
Cobalt
#0047AB
ΔE00 5.85
Blueberry
#464196
ΔE00 6.00
Blue (survey)
#0343DF
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2339AF #AF9923
analogous
#237FAF #2339AF #5323AF
triadic
#2339AF #AF2339 #39AF23
tetradic
#2339AF #AF237F #AF9923 #23AF53
square
#2339AF #AF237F #AF9923 #23AF53
split-complementary
#2339AF #AF5323 #7FAF23
monochromatic
#0F1849 #19287C #2339AF #3851D7 #6B7EE1
Accessibility & contrast
On white
9.23
#2339AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2339AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2339AF
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2339AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2339AF | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2339af; /* rgb */ color: rgb(35, 57, 175); /* oklch */ color: oklch(41.4% 0.188 268.1);
Tailwind
colors: {
custom: {
50: '#776fc8',
500: '#2339af',
950: '#000000',
},
}SCSS
$custom: #2339af; $custom-light: #776fc8; $custom-dark: #000000;
JSON
{
"hex": "#2339af",
"rgb": {
"r": 35,
"g": 57,
"b": 175
},
"hsl": {
"h": 230.571,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.41363,
"c": 0.18781,
"h": 268.1
},
"luminance": 0.06379
}Semantic roles & 50–950 ramp
primary
#2339AF
secondary
#C7B866
accent
#CF3EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82