#233D8C#233D8C
#233D8C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.135 H 266.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #233D8C |
|---|---|
| RGB | rgb(35, 61, 140) |
| HSL | hsl(225, 60%, 34%) |
| HSV | hsv(225, 75%, 55%) |
| CMYK | cmyk(75%, 56.4%, 0%, 45.1%) |
| CIE-LAB | lab(28.35, 19.36, -46.84) |
| CIE-LCH | lch(28.35, 50.68, 292.46°) |
| OKLab | oklab(38.94% -0.0086 -0.1349) |
| OKLCH | oklch(38.94% 0.135 266.3) |
| XYZ | xyz(7.0938, 5.5875, 25.5105) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.24
Darkish Blue
#014182
ΔE00 4.78
Sapphire (survey)
#2138AB
ΔE00 5.31
Cobalt
#0047AB
ΔE00 5.37
Blueberry
#464196
ΔE00 5.78
Twilight Blue
#0A437A
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#233D8C #8C7223
analogous
#23728C #233D8C #3E238C
triadic
#233D8C #8C233D #3D8C23
tetradic
#233D8C #8C2372 #8C7223 #238C3E
square
#233D8C #8C2372 #8C7223 #238C3E
split-complementary
#233D8C #8C3E23 #728C23
monochromatic
#0B122A #17285B #233D8C #2F52BD #5575D4
Accessibility & contrast
On white
9.92
#233D8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#233D8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #233D8C
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##233D8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##233D8C | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #233d8c; /* rgb */ color: rgb(35, 61, 140); /* oklch */ color: oklch(38.9% 0.135 266.3);
Tailwind
colors: {
custom: {
50: '#6d72ae',
500: '#233d8c',
950: '#000000',
},
}SCSS
$custom: #233d8c; $custom-light: #6d72ae; $custom-dark: #000000;
JSON
{
"hex": "#233d8c",
"rgb": {
"r": 35,
"g": 61,
"b": 140
},
"hsl": {
"h": 225.143,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.38941,
"c": 0.13522,
"h": 266.3
},
"luminance": 0.05588
}Semantic roles & 50–950 ramp
primary
#233D8C
secondary
#B89F52
accent
#BC45E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F