#2252AF#2252AF
#2252AF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.158 H 261.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2252AF |
|---|---|
| RGB | rgb(34, 82, 175) |
| HSL | hsl(220, 67%, 41%) |
| HSV | hsv(220, 81%, 69%) |
| CMYK | cmyk(80.6%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(36.87, 18.78, -54.17) |
| CIE-LCH | lch(36.87, 57.33, 289.12°) |
| OKLab | oklab(46.22% -0.0224 -0.1561) |
| OKLCH | oklch(46.22% 0.158 261.8) |
| XYZ | xyz(11.4121, 9.4685, 41.7753) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.44
Cobalt
#0047AB
ΔE00 3.56
Dusk Blue
#26538D
ΔE00 4.53
Denim Blue
#3B5B92
ΔE00 4.95
Cobalt (survey)
#1E488F
ΔE00 5.02
Denim
#1560BD
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2252AF #AF7F22
analogous
#2298AF #2252AF #3822AF
triadic
#2252AF #AF2252 #52AF22
tetradic
#2252AF #AF2298 #AF7F22 #22AF38
square
#2252AF #AF2298 #AF7F22 #22AF38
split-complementary
#2252AF #AF3822 #98AF22
monochromatic
#0E2249 #183A7C #2252AF #366DD8 #6992E2
Accessibility & contrast
On white
7.26
#2252AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2252AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2252AF
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2252AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2252AF | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B5EB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2252af; /* rgb */ color: rgb(34, 82, 175); /* oklch */ color: oklch(46.2% 0.158 261.8);
Tailwind
colors: {
custom: {
50: '#7482c8',
500: '#2252af',
950: '#000000',
},
}SCSS
$custom: #2252af; $custom-light: #7482c8; $custom-dark: #000000;
JSON
{
"hex": "#2252af",
"rgb": {
"r": 34,
"g": 82,
"b": 175
},
"hsl": {
"h": 219.574,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.46221,
"c": 0.15774,
"h": 261.8
},
"luminance": 0.0947
}Semantic roles & 50–950 ramp
primary
#2252AF
secondary
#C8A665
accent
#AF3DEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82