#1B267E#1B267E
#1B267E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.147 H 270.1°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1B267E |
|---|---|
| RGB | rgb(27, 38, 126) |
| HSL | hsl(233, 65%, 30%) |
| HSV | hsv(233, 79%, 49%) |
| CMYK | cmyk(78.6%, 69.8%, 0%, 50.6%) |
| CIE-LAB | lab(20.54, 28.72, -50.84) |
| CIE-LCH | lch(20.54, 58.39, 299.46°) |
| OKLab | oklab(32.66% 0.0002 -0.1471) |
| OKLCH | oklch(32.66% 0.147 270.1) |
| XYZ | xyz(4.9097, 3.1251, 20.0791) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.89
Royal
#0C1793
ΔE00 5.24
Dark Royal Blue
#02066F
ΔE00 7.58
Sapphire (survey)
#2138AB
ΔE00 7.73
Marine
#042E60
ΔE00 7.96
Darkblue (survey)
#030764
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B267E #7E731B
analogous
#1B587E #1B267E #411B7E
triadic
#1B267E #7E1B26 #267E1B
tetradic
#1B267E #7E1B58 #7E731B #1B7E41
square
#1B267E #7E1B58 #7E731B #1B7E41
split-complementary
#1B267E #7E411B #587E1B
monochromatic
#050819 #10174C #1B267E #2635B0 #3E4FD6
Accessibility & contrast
On white
12.92
#1B267E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1B267E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B267E
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B267E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B267E | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b267e; /* rgb */ color: rgb(27, 38, 126); /* oklch */ color: oklch(32.7% 0.147 270.1);
Tailwind
colors: {
custom: {
50: '#6960a4',
500: '#1b267e',
950: '#000000',
},
}SCSS
$custom: #1b267e; $custom-light: #6960a4; $custom-dark: #000000;
JSON
{
"hex": "#1b267e",
"rgb": {
"r": 27,
"g": 38,
"b": 126
},
"hsl": {
"h": 233.333,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.32659,
"c": 0.14713,
"h": 270.1
},
"luminance": 0.03126
}Semantic roles & 50–950 ramp
primary
#1B267E
secondary
#B2A643
accent
#D540E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F