#2351AB#2351AB
#2351AB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.153 H 262.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2351AB |
|---|---|
| RGB | rgb(35, 81, 171) |
| HSL | hsl(220, 66%, 40%) |
| HSV | hsv(220, 80%, 67%) |
| CMYK | cmyk(79.5%, 52.6%, 0%, 32.9%) |
| CIE-LAB | lab(36.33, 17.98, -52.67) |
| CIE-LCH | lch(36.33, 55.65, 288.85°) |
| OKLab | oklab(45.73% -0.0214 -0.1517) |
| OKLCH | oklch(45.73% 0.153 262) |
| XYZ | xyz(10.9836, 9.1812, 39.7134) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.93
Cobalt
#0047AB
ΔE00 3.25
Dusk Blue
#26538D
ΔE00 4.19
Cobalt (survey)
#1E488F
ΔE00 4.46
Denim Blue
#3B5B92
ΔE00 4.83
Light Navy Blue
#2E5A88
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2351AB #AB7D23
analogous
#2395AB #2351AB #3923AB
triadic
#2351AB #AB2351 #51AB23
tetradic
#2351AB #AB2395 #AB7D23 #23AB39
square
#2351AB #AB2395 #AB7D23 #23AB39
split-complementary
#2351AB #AB3923 #95AB23
monochromatic
#0E2145 #193978 #2351AB #356CD6 #6891E0
Accessibility & contrast
On white
7.40
#2351AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2351AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2351AB
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2351AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2351AB | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#115CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2351ab; /* rgb */ color: rgb(35, 81, 171); /* oklch */ color: oklch(45.7% 0.153 262.0);
Tailwind
colors: {
custom: {
50: '#7481c5',
500: '#2351ab',
950: '#000000',
},
}SCSS
$custom: #2351ab; $custom-light: #7481c5; $custom-dark: #000000;
JSON
{
"hex": "#2351ab",
"rgb": {
"r": 35,
"g": 81,
"b": 171
},
"hsl": {
"h": 219.706,
"s": 66.019,
"l": 40.392
},
"oklch": {
"l": 0.45727,
"c": 0.15324,
"h": 262
},
"luminance": 0.09182
}Semantic roles & 50–950 ramp
primary
#2351AB
secondary
#C6A564
accent
#AF3FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82