#1B2F7E#1B2F7E
#1B2F7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.136 H 267.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2F7E |
|---|---|
| RGB | rgb(27, 47, 126) |
| HSL | hsl(228, 65%, 30%) |
| HSV | hsv(228, 79%, 49%) |
| CMYK | cmyk(78.6%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(22.90, 22.53, -46.97) |
| CIE-LCH | lch(22.90, 52.09, 295.63°) |
| OKLab | oklab(34.4% -0.0057 -0.1357) |
| OKLCH | oklch(34.4% 0.136 267.6) |
| XYZ | xyz(5.2331, 3.7718, 20.1869) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.03
Midnight Blue
#191970
ΔE00 6.63
Sapphire (survey)
#2138AB
ΔE00 6.87
Marine Blue
#01386A
ΔE00 7.04
Darkslateblue
#483D8B
ΔE00 7.41
Darkish Blue
#014182
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2F7E #7E6A1B
analogous
#1B607E #1B2F7E #391B7E
triadic
#1B2F7E #7E1B2F #2F7E1B
tetradic
#1B2F7E #7E1B60 #7E6A1B #1B7E39
square
#1B2F7E #7E1B60 #7E6A1B #1B7E39
split-complementary
#1B2F7E #7E391B #607E1B
monochromatic
#050919 #101C4C #1B2F7E #2642B0 #3E5CD6
Accessibility & contrast
On white
11.97
#1B2F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1B2F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2F7E
11.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2F7E | 1.00 | 11.97 | 1.75 | 11.97 |
| #FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1b2f7e; /* rgb */ color: rgb(27, 47, 126); /* oklch */ color: oklch(34.4% 0.136 267.6);
Tailwind
colors: {
custom: {
50: '#6867a4',
500: '#1b2f7e',
950: '#000000',
},
}SCSS
$custom: #1b2f7e; $custom-light: #6867a4; $custom-dark: #000000;
JSON
{
"hex": "#1b2f7e",
"rgb": {
"r": 27,
"g": 47,
"b": 126
},
"hsl": {
"h": 227.879,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.34398,
"c": 0.13583,
"h": 267.6
},
"luminance": 0.03772
}Semantic roles & 50–950 ramp
primary
#1B2F7E
secondary
#B29B43
accent
#C640E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F