#252FAF#252FAF
#252FAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.198 H 270.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #252FAF |
|---|---|
| RGB | rgb(37, 47, 175) |
| HSL | hsl(236, 65%, 42%) |
| HSV | hsv(236, 79%, 69%) |
| CMYK | cmyk(78.9%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(28.17, 41.78, -68.40) |
| CIE-LCH | lch(28.17, 80.15, 301.42°) |
| OKLab | oklab(39.82% 0.0003 -0.1981) |
| OKLCH | oklch(39.82% 0.198 270.1) |
| XYZ | xyz(9.5147, 5.5204, 41.1132) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.79
Indigo Blue
#3A18B1
ΔE00 5.19
Blue Blue
#2242C7
ΔE00 6.01
True Blue
#010FCC
ΔE00 6.08
Ocean Blue
#4F42B5
ΔE00 6.58
Royal
#0C1793
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252FAF #AFA525
analogous
#2574AF #252FAF #6025AF
triadic
#252FAF #AF252F #2FAF25
tetradic
#252FAF #AF2574 #AFA525 #25AF60
square
#252FAF #AF2574 #AFA525 #25AF60
split-complementary
#252FAF #AF6025 #74AF25
monochromatic
#10144A #1A217C #252FAF #3C47D6 #6E76E0
Accessibility & contrast
On white
9.98
#252FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#252FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252FAF
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252FAF | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #252faf; /* rgb */ color: rgb(37, 47, 175); /* oklch */ color: oklch(39.8% 0.198 270.1);
Tailwind
colors: {
custom: {
50: '#7869c8',
500: '#252faf',
950: '#000000',
},
}SCSS
$custom: #252faf; $custom-light: #7869c8; $custom-dark: #000000;
JSON
{
"hex": "#252faf",
"rgb": {
"r": 37,
"g": 47,
"b": 175
},
"hsl": {
"h": 235.652,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.39815,
"c": 0.19811,
"h": 270.1
},
"luminance": 0.05521
}Semantic roles & 50–950 ramp
primary
#252FAF
secondary
#C7C069
accent
#DC40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82