#1F249E#1F249E
#1F249E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.190 H 270.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1F249E |
|---|---|
| RGB | rgb(31, 36, 158) |
| HSL | hsl(238, 67%, 37%) |
| HSV | hsv(238, 80%, 62%) |
| CMYK | cmyk(80.4%, 77.2%, 0%, 38%) |
| CIE-LAB | lab(23.74, 41.87, -65.46) |
| CIE-LCH | lch(23.74, 77.71, 302.61°) |
| OKLab | oklab(36.04% 0.0009 -0.1896) |
| OKLCH | oklch(36.04% 0.19 270.3) |
| XYZ | xyz(7.3654, 4.0208, 32.7290) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.31
Indigo Blue
#3A18B1
ΔE00 4.50
Cobalt Blue
#030AA7
ΔE00 4.51
Royal Blue (survey)
#0504AA
ΔE00 5.05
Ultramarine
#2000B1
ΔE00 5.41
Sapphire (survey)
#2138AB
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F249E #9E991F
analogous
#1F649E #1F249E #5A1F9E
triadic
#1F249E #9E1F24 #249E1F
tetradic
#1F249E #9E1F64 #9E991F #1F9E5A
square
#1F249E #9E1F64 #9E991F #1F9E5A
split-complementary
#1F249E #9E5A1F #649E1F
monochromatic
#0B0D38 #15186B #1F249E #2930D1 #595EDE
Accessibility & contrast
On white
11.64
#1F249E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#1F249E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F249E
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F249E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F249E | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1f249e; /* rgb */ color: rgb(31, 36, 158); /* oklch */ color: oklch(36.0% 0.190 270.3);
Tailwind
colors: {
custom: {
50: '#7360bc',
500: '#1f249e',
950: '#000000',
},
}SCSS
$custom: #1f249e; $custom-light: #7360bc; $custom-dark: #000000;
JSON
{
"hex": "#1f249e",
"rgb": {
"r": 31,
"g": 36,
"b": 158
},
"hsl": {
"h": 237.638,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.36036,
"c": 0.18958,
"h": 270.3
},
"luminance": 0.04022
}Semantic roles & 50–950 ramp
primary
#1F249E
secondary
#C2BE56
accent
#E33EEA
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981