#234CB5#234CB5
#234CB5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.173 H 264.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #234CB5 |
|---|---|
| RGB | rgb(35, 76, 181) |
| HSL | hsl(223, 68%, 42%) |
| HSV | hsv(223, 81%, 71%) |
| CMYK | cmyk(80.7%, 58%, 0%, 29%) |
| CIE-LAB | lab(35.72, 25.21, -59.60) |
| CIE-LCH | lch(35.72, 64.71, 292.93°) |
| OKLab | oklab(45.5% -0.0171 -0.1722) |
| OKLCH | oklch(45.5% 0.173 264.3) |
| XYZ | xyz(11.6151, 8.8610, 44.8053) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.69
Cobalt
#0047AB
ΔE00 2.70
Blue Blue
#2242C7
ΔE00 4.36
Cobalt (survey)
#1E488F
ΔE00 5.47
Blue (survey)
#0343DF
ΔE00 6.06
Sapphire (survey)
#2138AB
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#234CB5 #B58C23
analogous
#2395B5 #234CB5 #4323B5
triadic
#234CB5 #B5234C #4CB523
tetradic
#234CB5 #B52395 #B58C23 #23B543
square
#234CB5 #B52395 #B58C23 #23B543
split-complementary
#234CB5 #B54323 #95B523
monochromatic
#0F214E #193682 #234CB5 #3C68D9 #6F90E3
Accessibility & contrast
On white
7.57
#234CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#234CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #234CB5
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##234CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##234CB5 | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #234cb5; /* rgb */ color: rgb(35, 76, 181); /* oklch */ color: oklch(45.5% 0.173 264.3);
Tailwind
colors: {
custom: {
50: '#777dcc',
500: '#234cb5',
950: '#000000',
},
}SCSS
$custom: #234cb5; $custom-light: #777dcc; $custom-dark: #000000;
JSON
{
"hex": "#234cb5",
"rgb": {
"r": 35,
"g": 76,
"b": 181
},
"hsl": {
"h": 223.151,
"s": 67.593,
"l": 42.353
},
"oklch": {
"l": 0.45501,
"c": 0.17304,
"h": 264.3
},
"luminance": 0.08862
}Semantic roles & 50–950 ramp
primary
#234CB5
secondary
#CAAF6A
accent
#BA3DEA
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82