#1B2183#1B2183
#1B2183 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.160 H 270.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2183 |
|---|---|
| RGB | rgb(27, 33, 131) |
| HSL | hsl(237, 66%, 31%) |
| HSV | hsv(237, 79%, 51%) |
| CMYK | cmyk(79.4%, 74.8%, 0%, 48.6%) |
| CIE-LAB | lab(19.88, 33.83, -55.09) |
| CIE-LCH | lch(19.88, 64.65, 301.55°) |
| OKLab | oklab(32.34% 0.0022 -0.1595) |
| OKLCH | oklch(32.34% 0.16 270.8) |
| XYZ | xyz(5.0912, 2.9589, 21.7711) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.34
Royal
#0C1793
ΔE00 3.46
Darkblue
#00008B
ΔE00 6.24
Dark Royal Blue
#02066F
ΔE00 6.34
Navy
#000080
ΔE00 6.43
Cobalt Blue
#030AA7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2183 #837D1B
analogous
#1B5583 #1B2183 #491B83
triadic
#1B2183 #831B21 #21831B
tetradic
#1B2183 #831B55 #837D1B #1B8349
square
#1B2183 #831B55 #837D1B #1B8349
split-complementary
#1B2183 #83491B #55831B
monochromatic
#06071E #111450 #1B2183 #252EB6 #4149D8
Accessibility & contrast
On white
13.19
#1B2183 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1B2183 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2183
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2183 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2183 | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b2183; /* rgb */ color: rgb(27, 33, 131); /* oklch */ color: oklch(32.3% 0.160 270.8);
Tailwind
colors: {
custom: {
50: '#6b5da8',
500: '#1b2183',
950: '#000000',
},
}SCSS
$custom: #1b2183; $custom-light: #6b5da8; $custom-dark: #000000;
JSON
{
"hex": "#1b2183",
"rgb": {
"r": 27,
"g": 33,
"b": 131
},
"hsl": {
"h": 236.538,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.32342,
"c": 0.15953,
"h": 270.8
},
"luminance": 0.02959
}Semantic roles & 50–950 ramp
primary
#1B2183
secondary
#B6B043
accent
#DF3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F