#233C8C#233C8C
#233C8C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.137 H 266.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #233C8C |
|---|---|
| RGB | rgb(35, 60, 140) |
| HSL | hsl(226, 60%, 34%) |
| HSV | hsv(226, 75%, 55%) |
| CMYK | cmyk(75%, 57.1%, 0%, 45.1%) |
| CIE-LAB | lab(28.07, 20.06, -47.29) |
| CIE-LCH | lch(28.07, 51.37, 292.98°) |
| OKLab | oklab(38.73% -0.0078 -0.1363) |
| OKLCH | oklch(38.73% 0.137 266.7) |
| XYZ | xyz(7.0410, 5.4817, 25.4929) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.60
Darkish Blue
#014182
ΔE00 5.05
Sapphire (survey)
#2138AB
ΔE00 5.15
Cobalt
#0047AB
ΔE00 5.58
Blueberry
#464196
ΔE00 5.69
Twilight Blue
#0A437A
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#233C8C #8C7323
analogous
#23718C #233C8C #3E238C
triadic
#233C8C #8C233C #3C8C23
tetradic
#233C8C #8C2371 #8C7323 #238C3E
square
#233C8C #8C2371 #8C7323 #238C3E
split-complementary
#233C8C #8C3E23 #718C23
monochromatic
#0B122A #17275B #233C8C #2F51BD #5573D4
Accessibility & contrast
On white
10.02
#233C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#233C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #233C8C
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##233C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##233C8C | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003E8A
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #233c8c; /* rgb */ color: rgb(35, 60, 140); /* oklch */ color: oklch(38.7% 0.137 266.7);
Tailwind
colors: {
custom: {
50: '#6e71ae',
500: '#233c8c',
950: '#000000',
},
}SCSS
$custom: #233c8c; $custom-light: #6e71ae; $custom-dark: #000000;
JSON
{
"hex": "#233c8c",
"rgb": {
"r": 35,
"g": 60,
"b": 140
},
"hsl": {
"h": 225.714,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.38729,
"c": 0.13652,
"h": 266.7
},
"luminance": 0.05482
}Semantic roles & 50–950 ramp
primary
#233C8C
secondary
#B8A052
accent
#BD45E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F