#251799#251799
#251799 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.193 H 274.0°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).
Color values
| HEX | #251799 |
|---|---|
| RGB | rgb(37, 23, 153) |
| HSL | hsl(246, 74%, 35%) |
| HSV | hsv(246, 85%, 60%) |
| CMYK | cmyk(75.8%, 85%, 0%, 40%) |
| CIE-LAB | lab(21.23, 47.28, -66.55) |
| CIE-LCH | lch(21.23, 81.63, 305.39°) |
| OKLab | oklab(34.21% 0.0134 -0.1924) |
| OKLCH | oklch(34.21% 0.193 274) |
| XYZ | xyz(6.8172, 3.3053, 30.4095) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.96
Cobalt Blue
#030AA7
ΔE00 2.68
Royal Blue (survey)
#0504AA
ΔE00 3.16
Ultramarine
#2000B1
ΔE00 3.69
Indigo Blue
#3A18B1
ΔE00 4.06
Darkblue
#00008B
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251799 #8B9917
analogous
#174A99 #251799 #661799
triadic
#251799 #992517 #179925
tetradic
#251799 #99174A #8B9917 #179966
square
#251799 #99174A #8B9917 #179966
split-complementary
#251799 #996617 #4A9917
monochromatic
#0B072F #180F64 #251799 #321FCE #5847E3
Accessibility & contrast
On white
12.64
#251799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#251799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251799
12.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251799 | 1.00 | 12.64 | 1.66 | 12.64 |
| #FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00399C
Deuteranopia (green-blind)
#002D97
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #251799; /* rgb */ color: rgb(37, 23, 153); /* oklch */ color: oklch(34.2% 0.193 274.0);
Tailwind
colors: {
custom: {
50: '#7559b8',
500: '#251799',
950: '#000000',
},
}SCSS
$custom: #251799; $custom-light: #7559b8; $custom-dark: #000000;
JSON
{
"hex": "#251799",
"rgb": {
"r": 37,
"g": 23,
"b": 153
},
"hsl": {
"h": 246.462,
"s": 73.864,
"l": 34.51
},
"oklch": {
"l": 0.34206,
"c": 0.19289,
"h": 274
},
"luminance": 0.03306
}Semantic roles & 50–950 ramp
primary
#251799
secondary
#B7C547
accent
#F137DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981