#251EAF#251EAF
#251EAF is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.6% C 0.213 H 271.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #251EAF |
|---|---|
| RGB | rgb(37, 30, 175) |
| HSL | hsl(243, 71%, 40%) |
| HSV | hsv(243, 83%, 69%) |
| CMYK | cmyk(78.9%, 82.9%, 0%, 31.4%) |
| CIE-LAB | lab(25.00, 50.85, -73.65) |
| CIE-LCH | lch(25.00, 89.50, 304.62°) |
| OKLab | oklab(37.59% 0.0058 -0.2131) |
| OKLCH | oklch(37.59% 0.213 271.6) |
| XYZ | xyz(8.9625, 4.4160, 40.9291) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.21
Ultramarine
#2000B1
ΔE00 3.51
Cobalt Blue
#030AA7
ΔE00 3.63
True Blue
#010FCC
ΔE00 3.65
Royal Blue (survey)
#0504AA
ΔE00 3.89
Mediumblue
#0000CD
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251EAF #A8AF1E
analogous
#1E5FAF #251EAF #6E1EAF
triadic
#251EAF #AF251E #1EAF25
tetradic
#251EAF #AF1E5F #A8AF1E #1EAF6E
square
#251EAF #AF1E5F #A8AF1E #1EAF6E
split-complementary
#251EAF #AF6E1E #5FAF1E
monochromatic
#0F0C47 #1A157B #251EAF #372FDB #6963E4
Accessibility & contrast
On white
11.15
#251EAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#251EAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251EAF
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251EAF | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042B3
Deuteranopia (green-blind)
#0034AD
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #251eaf; /* rgb */ color: rgb(37, 30, 175); /* oklch */ color: oklch(37.6% 0.213 271.6);
Tailwind
colors: {
custom: {
50: '#7a5fc8',
500: '#251eaf',
950: '#000000',
},
}SCSS
$custom: #251eaf; $custom-light: #7a5fc8; $custom-dark: #000000;
JSON
{
"hex": "#251eaf",
"rgb": {
"r": 37,
"g": 30,
"b": 175
},
"hsl": {
"h": 242.897,
"s": 70.732,
"l": 40.196
},
"oklch": {
"l": 0.37585,
"c": 0.2132,
"h": 271.6
},
"luminance": 0.04417
}Semantic roles & 50–950 ramp
primary
#251EAF
secondary
#C4C960
accent
#ED3AE5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982