#253FAF#253FAF
#253FAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.180 H 267.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #253FAF |
|---|---|
| RGB | rgb(37, 63, 175) |
| HSL | hsl(229, 65%, 42%) |
| HSV | hsv(229, 79%, 69%) |
| CMYK | cmyk(78.9%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(31.90, 31.71, -62.26) |
| CIE-LCH | lch(31.90, 69.87, 296.99°) |
| OKLab | oklab(42.53% -0.0077 -0.1801) |
| OKLCH | oklch(42.53% 0.18 267.6) |
| XYZ | xyz(10.2756, 7.0423, 41.3669) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.08
Blue Blue
#2242C7
ΔE00 3.27
Cobalt
#0047AB
ΔE00 4.31
Ocean Blue
#4F42B5
ΔE00 5.48
Blueberry
#464196
ΔE00 5.71
Blue (survey)
#0343DF
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253FAF #AF9525
analogous
#2584AF #253FAF #5025AF
triadic
#253FAF #AF253F #3FAF25
tetradic
#253FAF #AF2584 #AF9525 #25AF50
square
#253FAF #AF2584 #AF9525 #25AF50
split-complementary
#253FAF #AF5025 #84AF25
monochromatic
#101B4A #1A2D7C #253FAF #3C59D6 #6E84E0
Accessibility & contrast
On white
8.72
#253FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#253FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253FAF
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253FAF | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #253faf; /* rgb */ color: rgb(37, 63, 175); /* oklch */ color: oklch(42.5% 0.180 267.6);
Tailwind
colors: {
custom: {
50: '#7774c8',
500: '#253faf',
950: '#000000',
},
}SCSS
$custom: #253faf; $custom-light: #7774c8; $custom-dark: #000000;
JSON
{
"hex": "#253faf",
"rgb": {
"r": 37,
"g": 63,
"b": 175
},
"hsl": {
"h": 228.696,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.42528,
"c": 0.18031,
"h": 267.6
},
"luminance": 0.07043
}Semantic roles & 50–950 ramp
primary
#253FAF
secondary
#C7B569
accent
#C840E8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82