#1F299C#1F299C
#1F299C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.182 H 269.8°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1F299C |
|---|---|
| RGB | rgb(31, 41, 156) |
| HSL | hsl(235, 67%, 37%) |
| HSV | hsv(235, 80%, 61%) |
| CMYK | cmyk(80.1%, 73.7%, 0%, 38.8%) |
| CIE-LAB | lab(24.57, 38.23, -62.87) |
| CIE-LCH | lch(24.57, 73.58, 301.30°) |
| OKLab | oklab(36.56% -0.0007 -0.1821) |
| OKLCH | oklch(36.56% 0.182 269.8) |
| XYZ | xyz(7.3567, 4.2766, 31.8838) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.31
Sapphire (survey)
#2138AB
ΔE00 4.47
Indigo Blue
#3A18B1
ΔE00 5.49
Cobalt Blue
#030AA7
ΔE00 5.80
Royal Blue (survey)
#0504AA
ΔE00 6.35
Ultramarine
#2000B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F299C #9C921F
analogous
#1F689C #1F299C #541F9C
triadic
#1F299C #9C1F29 #299C1F
tetradic
#1F299C #9C1F68 #9C921F #1F9C54
square
#1F299C #9C1F68 #9C921F #1F9C54
split-complementary
#1F299C #9C541F #689C1F
monochromatic
#0B0E36 #151C69 #1F299C #2936CF #5862DE
Accessibility & contrast
On white
11.32
#1F299C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1F299C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F299C
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F299C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F299C | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f299c; /* rgb */ color: rgb(31, 41, 156); /* oklch */ color: oklch(36.6% 0.182 269.8);
Tailwind
colors: {
custom: {
50: '#7264ba',
500: '#1f299c',
950: '#000000',
},
}SCSS
$custom: #1f299c; $custom-light: #7264ba; $custom-dark: #000000;
JSON
{
"hex": "#1f299c",
"rgb": {
"r": 31,
"g": 41,
"b": 156
},
"hsl": {
"h": 235.2,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.36558,
"c": 0.18211,
"h": 269.8
},
"luminance": 0.04277
}Semantic roles & 50–950 ramp
primary
#1F299C
secondary
#C1B955
accent
#DC3EEA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81