#2251AF#2251AF
#2251AF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.159 H 262.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2251AF |
|---|---|
| RGB | rgb(34, 81, 175) |
| HSL | hsl(220, 67%, 41%) |
| HSV | hsv(220, 81%, 69%) |
| CMYK | cmyk(80.6%, 53.7%, 0%, 31.4%) |
| CIE-LAB | lab(36.59, 19.44, -54.63) |
| CIE-LCH | lch(36.59, 57.98, 289.59°) |
| OKLab | oklab(46.01% -0.0216 -0.1575) |
| OKLCH | oklch(46.01% 0.159 262.2) |
| XYZ | xyz(11.3372, 9.3187, 41.7503) |
| Luminance | 0.0932 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.51
Cobalt
#0047AB
ΔE00 3.26
Dusk Blue
#26538D
ΔE00 4.67
Cobalt (survey)
#1E488F
ΔE00 4.88
Denim Blue
#3B5B92
ΔE00 5.16
Denim
#1560BD
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2251AF #AF8022
analogous
#2297AF #2251AF #3922AF
triadic
#2251AF #AF2251 #51AF22
tetradic
#2251AF #AF2297 #AF8022 #22AF39
square
#2251AF #AF2297 #AF8022 #22AF39
split-complementary
#2251AF #AF3922 #97AF22
monochromatic
#0E2249 #18397C #2251AF #366CD8 #6992E2
Accessibility & contrast
On white
7.33
#2251AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2251AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2251AF
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2251AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2251AF | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#045DB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2251af; /* rgb */ color: rgb(34, 81, 175); /* oklch */ color: oklch(46.0% 0.159 262.2);
Tailwind
colors: {
custom: {
50: '#7481c8',
500: '#2251af',
950: '#000000',
},
}SCSS
$custom: #2251af; $custom-light: #7481c8; $custom-dark: #000000;
JSON
{
"hex": "#2251af",
"rgb": {
"r": 34,
"g": 81,
"b": 175
},
"hsl": {
"h": 220,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.46008,
"c": 0.15898,
"h": 262.2
},
"luminance": 0.0932
}Semantic roles & 50–950 ramp
primary
#2251AF
secondary
#C8A765
accent
#B13DEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82