#2251B1#2251B1
#2251B1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.162 H 262.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2251B1 |
|---|---|
| RGB | rgb(34, 81, 177) |
| HSL | hsl(220, 68%, 41%) |
| HSV | hsv(220, 81%, 69%) |
| CMYK | cmyk(80.8%, 54.2%, 0%, 30.6%) |
| CIE-LAB | lab(36.74, 20.23, -55.57) |
| CIE-LCH | lch(36.74, 59.13, 290.00°) |
| OKLab | oklab(46.17% -0.0214 -0.1603) |
| OKLCH | oklch(46.17% 0.162 262.4) |
| XYZ | xyz(11.5351, 9.3979, 42.7925) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.37
Cobalt
#0047AB
ΔE00 3.32
Dusk Blue
#26538D
ΔE00 4.93
Cobalt (survey)
#1E488F
ΔE00 5.12
Denim Blue
#3B5B92
ΔE00 5.33
Denim
#1560BD
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2251B1 #B18222
analogous
#2299B1 #2251B1 #3B22B1
triadic
#2251B1 #B12251 #51B122
tetradic
#2251B1 #B12299 #B18222 #22B13B
square
#2251B1 #B12299 #B18222 #22B13B
split-complementary
#2251B1 #B13B22 #99B122
monochromatic
#0E224A #183A7E #2251B1 #386CD9 #6B92E3
Accessibility & contrast
On white
7.29
#2251B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2251B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2251B1
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2251B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2251B1 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2251b1; /* rgb */ color: rgb(34, 81, 177); /* oklch */ color: oklch(46.2% 0.162 262.4);
Tailwind
colors: {
custom: {
50: '#7581c9',
500: '#2251b1',
950: '#000000',
},
}SCSS
$custom: #2251b1; $custom-light: #7581c9; $custom-dark: #000000;
JSON
{
"hex": "#2251b1",
"rgb": {
"r": 34,
"g": 81,
"b": 177
},
"hsl": {
"h": 220.28,
"s": 67.773,
"l": 41.373
},
"oklch": {
"l": 0.46168,
"c": 0.16171,
"h": 262.4
},
"luminance": 0.09399
}Semantic roles & 50–950 ramp
primary
#2251B1
secondary
#C9A866
accent
#B23DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82