#1B2680#1B2680
#1B2680 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.150 H 270.0°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2680 |
|---|---|
| RGB | rgb(27, 38, 128) |
| HSL | hsl(233, 65%, 30%) |
| HSV | hsv(233, 79%, 50%) |
| CMYK | cmyk(78.9%, 70.3%, 0%, 49.8%) |
| CIE-LAB | lab(20.74, 29.48, -51.78) |
| CIE-LCH | lch(20.74, 59.58, 299.66°) |
| OKLab | oklab(32.87% 0 -0.1499) |
| OKLCH | oklch(32.87% 0.15 270) |
| XYZ | xyz(5.0401, 3.1772, 20.7655) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.99
Royal
#0C1793
ΔE00 4.98
Sapphire (survey)
#2138AB
ΔE00 7.50
Dark Royal Blue
#02066F
ΔE00 7.58
Darkblue
#00008B
ΔE00 7.86
Cobalt Blue
#030AA7
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2680 #80751B
analogous
#1B5980 #1B2680 #421B80
triadic
#1B2680 #801B26 #26801B
tetradic
#1B2680 #801B59 #80751B #1B8042
square
#1B2680 #801B59 #80751B #1B8042
split-complementary
#1B2680 #80421B #59801B
monochromatic
#06081B #10174D #1B2680 #2635B3 #3F4FD6
Accessibility & contrast
On white
12.84
#1B2680 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1B2680 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2680
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2680 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2680 | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1b2680; /* rgb */ color: rgb(27, 38, 128); /* oklch */ color: oklch(32.9% 0.150 270.0);
Tailwind
colors: {
custom: {
50: '#6a60a6',
500: '#1b2680',
950: '#000000',
},
}SCSS
$custom: #1b2680; $custom-light: #6a60a6; $custom-dark: #000000;
JSON
{
"hex": "#1b2680",
"rgb": {
"r": 27,
"g": 38,
"b": 128
},
"hsl": {
"h": 233.465,
"s": 65.161,
"l": 30.392
},
"oklch": {
"l": 0.32867,
"c": 0.14986,
"h": 270
},
"luminance": 0.03178
}Semantic roles & 50–950 ramp
primary
#1B2680
secondary
#B4A743
accent
#D640E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F