#233F8C#233F8C
#233F8C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.133 H 265.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #233F8C |
|---|---|
| RGB | rgb(35, 63, 140) |
| HSL | hsl(224, 60%, 34%) |
| HSV | hsv(224, 75%, 55%) |
| CMYK | cmyk(75%, 55%, 0%, 45.1%) |
| CIE-LAB | lab(28.92, 17.99, -45.91) |
| CIE-LCH | lch(28.92, 49.31, 291.39°) |
| OKLab | oklab(39.37% -0.0103 -0.1322) |
| OKLCH | oklch(39.37% 0.133 265.5) |
| XYZ | xyz(7.2026, 5.8050, 25.5467) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.53
Darkish Blue
#014182
ΔE00 4.28
Cobalt
#0047AB
ΔE00 4.97
Twilight Blue
#0A437A
ΔE00 5.35
Sapphire (survey)
#2138AB
ΔE00 5.70
Blueberry
#464196
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#233F8C #8C7023
analogous
#23748C #233F8C #3C238C
triadic
#233F8C #8C233F #3F8C23
tetradic
#233F8C #8C2374 #8C7023 #238C3C
square
#233F8C #8C2374 #8C7023 #238C3C
split-complementary
#233F8C #8C3C23 #748C23
monochromatic
#0B132A #17295B #233F8C #2F55BD #5577D4
Accessibility & contrast
On white
9.72
#233F8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#233F8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #233F8C
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##233F8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##233F8C | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#04498F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #233f8c; /* rgb */ color: rgb(35, 63, 140); /* oklch */ color: oklch(39.4% 0.133 265.5);
Tailwind
colors: {
custom: {
50: '#6d73ae',
500: '#233f8c',
950: '#000000',
},
}SCSS
$custom: #233f8c; $custom-light: #6d73ae; $custom-dark: #000000;
JSON
{
"hex": "#233f8c",
"rgb": {
"r": 35,
"g": 63,
"b": 140
},
"hsl": {
"h": 224,
"s": 60,
"l": 34.314
},
"oklch": {
"l": 0.3937,
"c": 0.1326,
"h": 265.5
},
"luminance": 0.05806
}Semantic roles & 50–950 ramp
primary
#233F8C
secondary
#B89D52
accent
#B945E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F