#1B2F7D#1B2F7D
#1B2F7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.134 H 267.6°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F7D |
|---|---|
| RGB | rgb(27, 47, 125) |
| HSL | hsl(228, 64%, 30%) |
| HSV | hsv(228, 78%, 49%) |
| CMYK | cmyk(78.4%, 62.4%, 0%, 51%) |
| CIE-LAB | lab(22.81, 22.13, -46.48) |
| CIE-LCH | lch(22.81, 51.48, 295.46°) |
| OKLab | oklab(34.31% -0.0057 -0.1343) |
| OKLCH | oklch(34.31% 0.134 267.6) |
| XYZ | xyz(5.1689, 3.7461, 19.8487) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.89
Midnight Blue
#191970
ΔE00 6.65
Marine Blue
#01386A
ΔE00 6.95
Sapphire (survey)
#2138AB
ΔE00 7.02
Darkslateblue
#483D8B
ΔE00 7.46
Darkish Blue
#014182
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F7D #7D691B
analogous
#1B607D #1B2F7D #381B7D
triadic
#1B2F7D #7D1B2F #2F7D1B
tetradic
#1B2F7D #7D1B60 #7D691B #1B7D38
square
#1B2F7D #7D1B60 #7D691B #1B7D38
split-complementary
#1B2F7D #7D381B #607D1B
monochromatic
#050919 #101C4B #1B2F7D #2642AF #3D5CD5
Accessibility & contrast
On white
12.00
#1B2F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1B2F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F7D
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F7D | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1b2f7d; /* rgb */ color: rgb(27, 47, 125); /* oklch */ color: oklch(34.3% 0.134 267.6);
Tailwind
colors: {
custom: {
50: '#6867a3',
500: '#1b2f7d',
950: '#000000',
},
}SCSS
$custom: #1b2f7d; $custom-light: #6867a3; $custom-dark: #000000;
JSON
{
"hex": "#1b2f7d",
"rgb": {
"r": 27,
"g": 47,
"b": 125
},
"hsl": {
"h": 227.755,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.34305,
"c": 0.1344,
"h": 267.6
},
"luminance": 0.03747
}Semantic roles & 50–950 ramp
primary
#1B2F7D
secondary
#B19A43
accent
#C540E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F