#1B276B#1B276B
#1B276B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 31.0% C 0.119 H 270.2°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1B276B |
|---|---|
| RGB | rgb(27, 39, 107) |
| HSL | hsl(231, 60%, 26%) |
| HSV | hsv(231, 75%, 42%) |
| CMYK | cmyk(74.8%, 63.6%, 0%, 58%) |
| CIE-LAB | lab(18.99, 20.59, -41.17) |
| CIE-LCH | lch(18.99, 46.04, 296.57°) |
| OKLab | oklab(30.97% 0.0005 -0.1188) |
| OKLCH | oklch(30.97% 0.119 270.2) |
| XYZ | xyz(3.8304, 2.7452, 14.2351) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.86
Marine
#042E60
ΔE00 5.68
Navy Blue
#1B2A4A
ΔE00 7.41
Navy Blue (survey)
#001146
ΔE00 7.78
Marine Blue
#01386A
ΔE00 8.31
Royal
#0C1793
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B276B #6B5F1B
analogous
#1B4F6B #1B276B #371B6B
triadic
#1B276B #6B1B27 #276B1B
tetradic
#1B276B #6B1B4F #6B5F1B #1B6B37
square
#1B276B #6B1B4F #6B5F1B #1B6B37
split-complementary
#1B276B #6B371B #4F6B1B
monochromatic
#060918 #0F153A #1B276B #27399C #354BCC
Accessibility & contrast
On white
13.56
#1B276B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1B276B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B276B
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B276B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B276B | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002B6A
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b276b; /* rgb */ color: rgb(27, 39, 107); /* oklch */ color: oklch(31.0% 0.119 270.2);
Tailwind
colors: {
custom: {
50: '#646096',
500: '#1b276b',
950: '#000000',
},
}SCSS
$custom: #1b276b; $custom-light: #646096; $custom-dark: #000000;
JSON
{
"hex": "#1b276b",
"rgb": {
"r": 27,
"g": 39,
"b": 107
},
"hsl": {
"h": 231,
"s": 59.701,
"l": 26.275
},
"oklch": {
"l": 0.30969,
"c": 0.11881,
"h": 270.2
},
"luminance": 0.02746
}Semantic roles & 50–950 ramp
primary
#1B276B
secondary
#A09242
accent
#CB45E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E