#1F259C#1F259C
#1F259C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.186 H 270.3°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1F259C |
|---|---|
| RGB | rgb(31, 37, 156) |
| HSL | hsl(237, 67%, 37%) |
| HSV | hsv(237, 80%, 61%) |
| CMYK | cmyk(80.1%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(23.72, 40.61, -64.27) |
| CIE-LCH | lch(23.72, 76.03, 302.29°) |
| OKLab | oklab(35.95% 0.0008 -0.1861) |
| OKLCH | oklch(35.95% 0.186 270.3) |
| XYZ | xyz(7.2253, 4.0139, 31.8400) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.40
Cobalt Blue
#030AA7
ΔE00 4.82
Indigo Blue
#3A18B1
ΔE00 4.84
Royal Blue (survey)
#0504AA
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 5.39
Ultramarine
#2000B1
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F259C #9C961F
analogous
#1F649C #1F259C #581F9C
triadic
#1F259C #9C1F25 #259C1F
tetradic
#1F259C #9C1F64 #9C961F #1F9C58
square
#1F259C #9C1F64 #9C961F #1F9C58
split-complementary
#1F259C #9C581F #649C1F
monochromatic
#0B0D36 #151969 #1F259C #2931CF #585EDE
Accessibility & contrast
On white
11.65
#1F259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#1F259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F259C
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F259C | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1f259c; /* rgb */ color: rgb(31, 37, 156); /* oklch */ color: oklch(36.0% 0.186 270.3);
Tailwind
colors: {
custom: {
50: '#7261ba',
500: '#1f259c',
950: '#000000',
},
}SCSS
$custom: #1f259c; $custom-light: #7261ba; $custom-dark: #000000;
JSON
{
"hex": "#1f259c",
"rgb": {
"r": 31,
"g": 37,
"b": 156
},
"hsl": {
"h": 237.12,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.35953,
"c": 0.18615,
"h": 270.3
},
"luminance": 0.04015
}Semantic roles & 50–950 ramp
primary
#1F259C
secondary
#C1BC55
accent
#E23EEA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981