#233F9B#233F9B
#233F9B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.154 H 266.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #233F9B |
|---|---|
| RGB | rgb(35, 63, 155) |
| HSL | hsl(226, 63%, 37%) |
| HSV | hsv(226, 77%, 61%) |
| CMYK | cmyk(77.4%, 59.4%, 0%, 39.2%) |
| CIE-LAB | lab(30.10, 23.86, -53.17) |
| CIE-LCH | lch(30.10, 58.28, 294.17°) |
| OKLab | oklab(40.64% -0.0094 -0.1535) |
| OKLCH | oklch(40.64% 0.154 266.5) |
| XYZ | xyz(8.3850, 6.2780, 31.7738) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.58
Cobalt
#0047AB
ΔE00 3.91
Cobalt (survey)
#1E488F
ΔE00 4.49
Blueberry
#464196
ΔE00 5.30
Darkish Blue
#014182
ΔE00 5.86
Blue Blue
#2242C7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#233F9B #9B7F23
analogous
#237B9B #233F9B #43239B
triadic
#233F9B #9B233F #3F9B23
tetradic
#233F9B #9B237B #9B7F23 #239B43
square
#233F9B #9B237B #9B7F23 #239B43
split-complementary
#233F9B #9B4323 #7B9B23
monochromatic
#0C1637 #182B69 #233F9B #2E53CD #5E7BDB
Accessibility & contrast
On white
9.31
#233F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#233F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #233F9B
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##233F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##233F9B | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #233f9b; /* rgb */ color: rgb(35, 63, 155); /* oklch */ color: oklch(40.6% 0.154 266.5);
Tailwind
colors: {
custom: {
50: '#7173b9',
500: '#233f9b',
950: '#000000',
},
}SCSS
$custom: #233f9b; $custom-light: #7173b9; $custom-dark: #000000;
JSON
{
"hex": "#233f9b",
"rgb": {
"r": 35,
"g": 63,
"b": 155
},
"hsl": {
"h": 226,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.40637,
"c": 0.15381,
"h": 266.5
},
"luminance": 0.06279
}Semantic roles & 50–950 ramp
primary
#233F9B
secondary
#BFA85A
accent
#C042E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81