#1F2E9F#1F2E9F
#1F2E9F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.181 H 269.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2E9F |
|---|---|
| RGB | rgb(31, 46, 159) |
| HSL | hsl(233, 67%, 37%) |
| HSV | hsv(233, 81%, 62%) |
| CMYK | cmyk(80.5%, 71.1%, 0%, 37.6%) |
| CIE-LAB | lab(26.00, 36.21, -62.33) |
| CIE-LCH | lch(26.00, 72.09, 300.16°) |
| OKLab | oklab(37.69% -0.0032 -0.1805) |
| OKLCH | oklch(37.69% 0.181 269) |
| XYZ | xyz(7.7979, 4.7476, 33.2996) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.13
Royal
#0C1793
ΔE00 5.66
Indigo Blue
#3A18B1
ΔE00 6.25
Blueberry
#464196
ΔE00 6.91
Cobalt Blue
#030AA7
ΔE00 7.00
Darkslateblue
#483D8B
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2E9F #9F901F
analogous
#1F6E9F #1F2E9F #501F9F
triadic
#1F2E9F #9F1F2E #2E9F1F
tetradic
#1F2E9F #9F1F6E #9F901F #1F9F50
square
#1F2E9F #9F1F6E #9F901F #1F9F50
split-complementary
#1F2E9F #9F501F #6E9F1F
monochromatic
#0B1039 #151F6C #1F2E9F #293DD2 #5A69DF
Accessibility & contrast
On white
10.77
#1F2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1F2E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2E9F
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2E9F | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f2e9f; /* rgb */ color: rgb(31, 46, 159); /* oklch */ color: oklch(37.7% 0.181 269.0);
Tailwind
colors: {
custom: {
50: '#7267bd',
500: '#1f2e9f',
950: '#000000',
},
}SCSS
$custom: #1f2e9f; $custom-light: #7267bd; $custom-dark: #000000;
JSON
{
"hex": "#1f2e9f",
"rgb": {
"r": 31,
"g": 46,
"b": 159
},
"hsl": {
"h": 232.969,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.37685,
"c": 0.18057,
"h": 269
},
"luminance": 0.04748
}Semantic roles & 50–950 ramp
primary
#1F2E9F
secondary
#C3B657
accent
#D63EEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81