#1F289C#1F289C
#1F289C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.183 H 269.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1F289C |
|---|---|
| RGB | rgb(31, 40, 156) |
| HSL | hsl(236, 67%, 37%) |
| HSV | hsv(236, 80%, 61%) |
| CMYK | cmyk(80.1%, 74.4%, 0%, 38.8%) |
| CIE-LAB | lab(24.35, 38.84, -63.23) |
| CIE-LCH | lch(24.35, 74.20, 301.56°) |
| OKLab | oklab(36.4% -0.0003 -0.1831) |
| OKLCH | oklch(36.4% 0.183 269.9) |
| XYZ | xyz(7.3226, 4.2084, 31.8724) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.07
Sapphire (survey)
#2138AB
ΔE00 4.70
Indigo Blue
#3A18B1
ΔE00 5.32
Cobalt Blue
#030AA7
ΔE00 5.55
Royal Blue (survey)
#0504AA
ΔE00 6.10
Ultramarine
#2000B1
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F289C #9C931F
analogous
#1F679C #1F289C #551F9C
triadic
#1F289C #9C1F28 #289C1F
tetradic
#1F289C #9C1F67 #9C931F #1F9C55
square
#1F289C #9C1F67 #9C931F #1F9C55
split-complementary
#1F289C #9C551F #679C1F
monochromatic
#0B0E36 #151B69 #1F289C #2935CF #5861DE
Accessibility & contrast
On white
11.40
#1F289C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1F289C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F289C
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F289C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F289C | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 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: #1f289c; /* rgb */ color: rgb(31, 40, 156); /* oklch */ color: oklch(36.4% 0.183 269.9);
Tailwind
colors: {
custom: {
50: '#7263ba',
500: '#1f289c',
950: '#000000',
},
}SCSS
$custom: #1f289c; $custom-light: #7263ba; $custom-dark: #000000;
JSON
{
"hex": "#1f289c",
"rgb": {
"r": 31,
"g": 40,
"b": 156
},
"hsl": {
"h": 235.68,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.36402,
"c": 0.18314,
"h": 269.9
},
"luminance": 0.04209
}Semantic roles & 50–950 ramp
primary
#1F289C
secondary
#C1BA55
accent
#DD3EEA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981