#1F2B7A#1F2B7A
#1F2B7A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.134 H 270.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B7A |
|---|---|
| RGB | rgb(31, 43, 122) |
| HSL | hsl(232, 59%, 30%) |
| HSV | hsv(232, 75%, 48%) |
| CMYK | cmyk(74.6%, 64.8%, 0%, 52.2%) |
| CIE-LAB | lab(21.67, 24.25, -46.44) |
| CIE-LCH | lch(21.67, 52.39, 297.57°) |
| OKLab | oklab(33.43% 0.0014 -0.1341) |
| OKLCH | oklch(33.43% 0.134 270.6) |
| XYZ | xyz(4.9406, 3.4237, 18.8090) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.18
Marine
#042E60
ΔE00 6.65
Royal
#0C1793
ΔE00 7.02
Darkslateblue
#483D8B
ΔE00 7.51
Sapphire (survey)
#2138AB
ΔE00 7.70
Blueberry
#464196
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B7A #7A6E1F
analogous
#1F587A #1F2B7A #411F7A
triadic
#1F2B7A #7A1F2B #2B7A1F
tetradic
#1F2B7A #7A1F58 #7A6E1F #1F7A41
square
#1F2B7A #7A1F58 #7A6E1F #1F7A41
split-complementary
#1F2B7A #7A411F #587A1F
monochromatic
#060918 #131A49 #1F2B7A #2B3CAB #4456CF
Accessibility & contrast
On white
12.46
#1F2B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1F2B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B7A
12.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B7A | 1.00 | 12.46 | 1.68 | 12.46 |
| #FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f2b7a; /* rgb */ color: rgb(31, 43, 122); /* oklch */ color: oklch(33.4% 0.134 270.6);
Tailwind
colors: {
custom: {
50: '#6964a1',
500: '#1f2b7a',
950: '#000000',
},
}SCSS
$custom: #1f2b7a; $custom-light: #6964a1; $custom-dark: #000000;
JSON
{
"hex": "#1f2b7a",
"rgb": {
"r": 31,
"g": 43,
"b": 122
},
"hsl": {
"h": 232.088,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.33428,
"c": 0.13414,
"h": 270.6
},
"luminance": 0.03424
}Semantic roles & 50–950 ramp
primary
#1F2B7A
secondary
#ADA047
accent
#CE45E3
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F