#1B267F#1B267F
#1B267F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.148 H 270.0°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1B267F |
|---|---|
| RGB | rgb(27, 38, 127) |
| HSL | hsl(233, 65%, 30%) |
| HSV | hsv(233, 79%, 50%) |
| CMYK | cmyk(78.7%, 70.1%, 0%, 50.2%) |
| CIE-LAB | lab(20.64, 29.10, -51.31) |
| CIE-LCH | lch(20.64, 58.99, 299.56°) |
| OKLab | oklab(32.76% 0.0001 -0.1485) |
| OKLCH | oklch(32.76% 0.149 270) |
| XYZ | xyz(4.9746, 3.1510, 20.4206) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.94
Royal
#0C1793
ΔE00 5.11
Dark Royal Blue
#02066F
ΔE00 7.58
Sapphire (survey)
#2138AB
ΔE00 7.62
Darkblue
#00008B
ΔE00 7.94
Cobalt Blue
#030AA7
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B267F #7F741B
analogous
#1B587F #1B267F #421B7F
triadic
#1B267F #7F1B26 #267F1B
tetradic
#1B267F #7F1B58 #7F741B #1B7F42
square
#1B267F #7F1B58 #7F741B #1B7F42
split-complementary
#1B267F #7F421B #587F1B
monochromatic
#06081A #10174D #1B267F #2635B1 #3E4FD6
Accessibility & contrast
On white
12.88
#1B267F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1B267F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B267F
12.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B267F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B267F | 1.00 | 12.88 | 1.63 | 12.88 |
| #FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1b267f; /* rgb */ color: rgb(27, 38, 127); /* oklch */ color: oklch(32.8% 0.148 270.0);
Tailwind
colors: {
custom: {
50: '#6960a5',
500: '#1b267f',
950: '#000000',
},
}SCSS
$custom: #1b267f; $custom-light: #6960a5; $custom-dark: #000000;
JSON
{
"hex": "#1b267f",
"rgb": {
"r": 27,
"g": 38,
"b": 127
},
"hsl": {
"h": 233.4,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.32763,
"c": 0.1485,
"h": 270
},
"luminance": 0.03152
}Semantic roles & 50–950 ramp
primary
#1B267F
secondary
#B3A643
accent
#D540E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F