#1F249C#1F249C
#1F249C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.187 H 270.4°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #1F249C |
|---|---|
| RGB | rgb(31, 36, 156) |
| HSL | hsl(238, 67%, 37%) |
| HSV | hsv(238, 80%, 61%) |
| CMYK | cmyk(80.1%, 76.9%, 0%, 38.8%) |
| CIE-LAB | lab(23.51, 41.19, -64.61) |
| CIE-LCH | lch(23.51, 76.62, 302.52°) |
| OKLab | oklab(35.81% 0.0012 -0.1871) |
| OKLCH | oklch(35.81% 0.187 270.4) |
| XYZ | xyz(7.1947, 3.9525, 31.8298) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.20
Cobalt Blue
#030AA7
ΔE00 4.59
Indigo Blue
#3A18B1
ΔE00 4.71
Royal Blue (survey)
#0504AA
ΔE00 5.15
Ultramarine
#2000B1
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F249C #9C971F
analogous
#1F639C #1F249C #591F9C
triadic
#1F249C #9C1F24 #249C1F
tetradic
#1F249C #9C1F63 #9C971F #1F9C59
square
#1F249C #9C1F63 #9C971F #1F9C59
split-complementary
#1F249C #9C591F #639C1F
monochromatic
#0B0C36 #151869 #1F249C #2930CF #585DDE
Accessibility & contrast
On white
11.73
#1F249C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#1F249C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F249C
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F249C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F249C | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00329A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1f249c; /* rgb */ color: rgb(31, 36, 156); /* oklch */ color: oklch(35.8% 0.187 270.4);
Tailwind
colors: {
custom: {
50: '#7260ba',
500: '#1f249c',
950: '#000000',
},
}SCSS
$custom: #1f249c; $custom-light: #7260ba; $custom-dark: #000000;
JSON
{
"hex": "#1f249c",
"rgb": {
"r": 31,
"g": 36,
"b": 156
},
"hsl": {
"h": 237.6,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.35809,
"c": 0.18712,
"h": 270.4
},
"luminance": 0.03953
}Semantic roles & 50–950 ramp
primary
#1F249C
secondary
#C1BD55
accent
#E33EEA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981