#251894#251894
#251894 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.186 H 274.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #251894 |
|---|---|
| RGB | rgb(37, 24, 148) |
| HSL | hsl(246, 72%, 34%) |
| HSV | hsv(246, 84%, 58%) |
| CMYK | cmyk(75%, 83.8%, 0%, 42%) |
| CIE-LAB | lab(20.77, 45.29, -64.23) |
| CIE-LCH | lch(20.77, 78.59, 305.19°) |
| OKLab | oklab(33.71% 0.0145 -0.1857) |
| OKLCH | oklch(33.71% 0.186 274.5) |
| XYZ | xyz(6.4331, 3.1841, 28.2868) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.69
Cobalt Blue
#030AA7
ΔE00 3.23
Royal Blue (survey)
#0504AA
ΔE00 3.73
Darkblue
#00008B
ΔE00 4.33
Ultramarine
#2000B1
ΔE00 4.37
Indigo Blue
#3A18B1
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251894 #879418
analogous
#184994 #251894 #631894
triadic
#251894 #942518 #189425
tetradic
#251894 #941849 #879418 #189463
square
#251894 #941849 #879418 #189463
split-complementary
#251894 #946318 #499418
monochromatic
#0B072B #180F5F #251894 #3221C9 #5645E1
Accessibility & contrast
On white
12.83
#251894 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#251894 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251894
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251894 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251894 | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003797
Deuteranopia (green-blind)
#002C92
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #251894; /* rgb */ color: rgb(37, 24, 148); /* oklch */ color: oklch(33.7% 0.186 274.5);
Tailwind
colors: {
custom: {
50: '#7459b5',
500: '#251894',
950: '#000000',
},
}SCSS
$custom: #251894; $custom-light: #7459b5; $custom-dark: #000000;
JSON
{
"hex": "#251894",
"rgb": {
"r": 37,
"g": 24,
"b": 148
},
"hsl": {
"h": 246.29,
"s": 72.093,
"l": 33.725
},
"oklch": {
"l": 0.33712,
"c": 0.18628,
"h": 274.5
},
"luminance": 0.03185
}Semantic roles & 50–950 ramp
primary
#251894
secondary
#B5C246
accent
#EF39DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980