#234AB5#234AB5
#234AB5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.175 H 264.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #234AB5 |
|---|---|
| RGB | rgb(35, 74, 181) |
| HSL | hsl(224, 68%, 42%) |
| HSV | hsv(224, 81%, 71%) |
| CMYK | cmyk(80.7%, 59.1%, 0%, 29%) |
| CIE-LAB | lab(35.18, 26.54, -60.47) |
| CIE-LCH | lch(35.18, 66.03, 293.70°) |
| OKLab | oklab(45.1% -0.0158 -0.1748) |
| OKLCH | oklch(45.1% 0.175 264.8) |
| XYZ | xyz(11.4794, 8.5897, 44.7601) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.64
Sapphire
#0F52BA
ΔE00 3.33
Blue Blue
#2242C7
ΔE00 3.82
Cobalt (survey)
#1E488F
ΔE00 5.57
Sapphire (survey)
#2138AB
ΔE00 5.66
Blue (survey)
#0343DF
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#234AB5 #B58E23
analogous
#2393B5 #234AB5 #4523B5
triadic
#234AB5 #B5234A #4AB523
tetradic
#234AB5 #B52393 #B58E23 #23B545
square
#234AB5 #B52393 #B58E23 #23B545
split-complementary
#234AB5 #B54523 #93B523
monochromatic
#0F204E #193582 #234AB5 #3C66D9 #6F8EE3
Accessibility & contrast
On white
7.73
#234AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#234AB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #234AB5
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##234AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##234AB5 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #234ab5; /* rgb */ color: rgb(35, 74, 181); /* oklch */ color: oklch(45.1% 0.175 264.8);
Tailwind
colors: {
custom: {
50: '#777ccc',
500: '#234ab5',
950: '#000000',
},
}SCSS
$custom: #234ab5; $custom-light: #777ccc; $custom-dark: #000000;
JSON
{
"hex": "#234ab5",
"rgb": {
"r": 35,
"g": 74,
"b": 181
},
"hsl": {
"h": 223.973,
"s": 67.593,
"l": 42.353
},
"oklch": {
"l": 0.45102,
"c": 0.17549,
"h": 264.8
},
"luminance": 0.08591
}Semantic roles & 50–950 ramp
primary
#234AB5
secondary
#CAB06A
accent
#BC3DEA
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82