#2251AD#2251AD
#2251AD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.156 H 262.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2251AD |
|---|---|
| RGB | rgb(34, 81, 173) |
| HSL | hsl(220, 67%, 41%) |
| HSV | hsv(220, 80%, 68%) |
| CMYK | cmyk(80.3%, 53.2%, 0%, 32.2%) |
| CIE-LAB | lab(36.44, 18.66, -53.68) |
| CIE-LCH | lch(36.44, 56.83, 289.17°) |
| OKLab | oklab(45.85% -0.0219 -0.1547) |
| OKLCH | oklch(45.85% 0.156 262) |
| XYZ | xyz(11.1422, 9.2407, 40.7235) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.70
Cobalt
#0047AB
ΔE00 3.24
Dusk Blue
#26538D
ΔE00 4.41
Cobalt (survey)
#1E488F
ΔE00 4.66
Denim Blue
#3B5B92
ΔE00 4.99
Denim
#1560BD
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2251AD #AD7E22
analogous
#2296AD #2251AD #3822AD
triadic
#2251AD #AD2251 #51AD22
tetradic
#2251AD #AD2296 #AD7E22 #22AD38
square
#2251AD #AD2296 #AD7E22 #22AD38
split-complementary
#2251AD #AD3822 #96AD22
monochromatic
#0E2147 #18397A #2251AD #356CD7 #6891E1
Accessibility & contrast
On white
7.37
#2251AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2251AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2251AD
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2251AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2251AD | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B5CB0
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2251ad; /* rgb */ color: rgb(34, 81, 173); /* oklch */ color: oklch(45.9% 0.156 262.0);
Tailwind
colors: {
custom: {
50: '#7481c6',
500: '#2251ad',
950: '#000000',
},
}SCSS
$custom: #2251ad; $custom-light: #7481c6; $custom-dark: #000000;
JSON
{
"hex": "#2251ad",
"rgb": {
"r": 34,
"g": 81,
"b": 173
},
"hsl": {
"h": 219.712,
"s": 67.15,
"l": 40.588
},
"oklch": {
"l": 0.4585,
"c": 0.15626,
"h": 262
},
"luminance": 0.09242
}Semantic roles & 50–950 ramp
primary
#2251AD
secondary
#C7A564
accent
#B03EEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82