#1B2280#1B2280
#1B2280 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.154 H 270.8°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2280 |
|---|---|
| RGB | rgb(27, 34, 128) |
| HSL | hsl(236, 65%, 30%) |
| HSV | hsv(236, 79%, 50%) |
| CMYK | cmyk(78.9%, 73.4%, 0%, 49.8%) |
| CIE-LAB | lab(19.78, 32.10, -53.35) |
| CIE-LCH | lch(19.78, 62.27, 301.03°) |
| OKLab | oklab(32.17% 0.0021 -0.1545) |
| OKLCH | oklch(32.17% 0.154 270.8) |
| XYZ | xyz(4.9190, 2.9350, 20.7252) |
| Luminance | 0.0294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.15
Royal
#0C1793
ΔE00 4.05
Dark Royal Blue
#02066F
ΔE00 6.49
Darkblue
#00008B
ΔE00 6.71
Navy
#000080
ΔE00 6.80
Deep Blue
#040273
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2280 #80791B
analogous
#1B5480 #1B2280 #471B80
triadic
#1B2280 #801B22 #22801B
tetradic
#1B2280 #801B54 #80791B #1B8047
square
#1B2280 #801B54 #80791B #1B8047
split-complementary
#1B2280 #80471B #54801B
monochromatic
#06071B #10154D #1B2280 #262FB3 #3F49D6
Accessibility & contrast
On white
13.23
#1B2280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1B2280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2280
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2280 | 1.00 | 13.23 | 1.59 | 13.23 |
| #FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b2280; /* rgb */ color: rgb(27, 34, 128); /* oklch */ color: oklch(32.2% 0.154 270.8);
Tailwind
colors: {
custom: {
50: '#6a5ea6',
500: '#1b2280',
950: '#000000',
},
}SCSS
$custom: #1b2280; $custom-light: #6a5ea6; $custom-dark: #000000;
JSON
{
"hex": "#1b2280",
"rgb": {
"r": 27,
"g": 34,
"b": 128
},
"hsl": {
"h": 235.842,
"s": 65.161,
"l": 30.392
},
"oklch": {
"l": 0.32175,
"c": 0.15447,
"h": 270.8
},
"luminance": 0.02936
}Semantic roles & 50–950 ramp
primary
#1B2280
secondary
#B4AC43
accent
#DC40E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F