#1B2F7F#1B2F7F
#1B2F7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.137 H 267.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F7F |
|---|---|
| RGB | rgb(27, 47, 127) |
| HSL | hsl(228, 65%, 30%) |
| HSV | hsv(228, 79%, 50%) |
| CMYK | cmyk(78.7%, 63%, 0%, 50.2%) |
| CIE-LAB | lab(22.99, 22.93, -47.46) |
| CIE-LCH | lch(22.99, 52.70, 295.79°) |
| OKLab | oklab(34.49% -0.0057 -0.1371) |
| OKLCH | oklch(34.49% 0.137 267.6) |
| XYZ | xyz(5.2979, 3.7978, 20.5284) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.17
Midnight Blue
#191970
ΔE00 6.62
Sapphire (survey)
#2138AB
ΔE00 6.72
Marine Blue
#01386A
ΔE00 7.13
Darkslateblue
#483D8B
ΔE00 7.37
Blueberry
#464196
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F7F #7F6B1B
analogous
#1B617F #1B2F7F #391B7F
triadic
#1B2F7F #7F1B2F #2F7F1B
tetradic
#1B2F7F #7F1B61 #7F6B1B #1B7F39
square
#1B2F7F #7F1B61 #7F6B1B #1B7F39
split-complementary
#1B2F7F #7F391B #617F1B
monochromatic
#060A1A #101C4D #1B2F7F #2642B1 #3E5DD6
Accessibility & contrast
On white
11.93
#1B2F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1B2F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F7F
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F7F | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1b2f7f; /* rgb */ color: rgb(27, 47, 127); /* oklch */ color: oklch(34.5% 0.137 267.6);
Tailwind
colors: {
custom: {
50: '#6867a5',
500: '#1b2f7f',
950: '#000000',
},
}SCSS
$custom: #1b2f7f; $custom-light: #6867a5; $custom-dark: #000000;
JSON
{
"hex": "#1b2f7f",
"rgb": {
"r": 27,
"g": 47,
"b": 127
},
"hsl": {
"h": 228,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.34492,
"c": 0.13726,
"h": 267.6
},
"luminance": 0.03798
}Semantic roles & 50–950 ramp
primary
#1B2F7F
secondary
#B39C43
accent
#C640E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F