#1B2380#1B2380
#1B2380 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.153 H 270.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2380 |
|---|---|
| RGB | rgb(27, 35, 128) |
| HSL | hsl(235, 65%, 30%) |
| HSV | hsv(235, 79%, 50%) |
| CMYK | cmyk(78.9%, 72.7%, 0%, 49.8%) |
| CIE-LAB | lab(20.02, 31.45, -52.97) |
| CIE-LCH | lch(20.02, 61.60, 300.70°) |
| OKLab | oklab(32.34% 0.0016 -0.1533) |
| OKLCH | oklch(32.34% 0.153 270.6) |
| XYZ | xyz(4.9480, 2.9930, 20.7348) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.33
Royal
#0C1793
ΔE00 4.27
Dark Royal Blue
#02066F
ΔE00 6.75
Darkblue
#00008B
ΔE00 6.99
Navy
#000080
ΔE00 7.09
Deep Blue
#040273
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2380 #80781B
analogous
#1B5580 #1B2380 #461B80
triadic
#1B2380 #801B23 #23801B
tetradic
#1B2380 #801B55 #80781B #1B8046
square
#1B2380 #801B55 #80781B #1B8046
split-complementary
#1B2380 #80461B #55801B
monochromatic
#06071B #10154D #1B2380 #2631B3 #3F4BD6
Accessibility & contrast
On white
13.13
#1B2380 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1B2380 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2380
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2380 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2380 | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b2380; /* rgb */ color: rgb(27, 35, 128); /* oklch */ color: oklch(32.3% 0.153 270.6);
Tailwind
colors: {
custom: {
50: '#6a5ea6',
500: '#1b2380',
950: '#000000',
},
}SCSS
$custom: #1b2380; $custom-light: #6a5ea6; $custom-dark: #000000;
JSON
{
"hex": "#1b2380",
"rgb": {
"r": 27,
"g": 35,
"b": 128
},
"hsl": {
"h": 235.248,
"s": 65.161,
"l": 30.392
},
"oklch": {
"l": 0.32344,
"c": 0.15335,
"h": 270.6
},
"luminance": 0.02994
}Semantic roles & 50–950 ramp
primary
#1B2380
secondary
#B4AB43
accent
#DB40E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F