#1B2983#1B2983
#1B2983 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.150 H 269.2°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2983 |
|---|---|
| RGB | rgb(27, 41, 131) |
| HSL | hsl(232, 66%, 31%) |
| HSV | hsv(232, 79%, 51%) |
| CMYK | cmyk(79.4%, 68.7%, 0%, 48.6%) |
| CIE-LAB | lab(21.79, 28.62, -51.95) |
| CIE-LCH | lch(21.79, 59.31, 298.86°) |
| OKLab | oklab(33.72% -0.002 -0.1504) |
| OKLCH | oklch(33.72% 0.15 269.2) |
| XYZ | xyz(5.3403, 3.4570, 21.8541) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.92
Royal
#0C1793
ΔE00 5.44
Sapphire (survey)
#2138AB
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 7.82
Marine
#042E60
ΔE00 7.88
Cobalt Blue
#030AA7
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2983 #83751B
analogous
#1B5D83 #1B2983 #411B83
triadic
#1B2983 #831B29 #29831B
tetradic
#1B2983 #831B5D #83751B #1B8341
square
#1B2983 #831B5D #83751B #1B8341
split-complementary
#1B2983 #83411B #5D831B
monochromatic
#06091E #111950 #1B2983 #2539B6 #4155D8
Accessibility & contrast
On white
12.41
#1B2983 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1B2983 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2983
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2983 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2983 | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1b2983; /* rgb */ color: rgb(27, 41, 131); /* oklch */ color: oklch(33.7% 0.150 269.2);
Tailwind
colors: {
custom: {
50: '#6a63a8',
500: '#1b2983',
950: '#000000',
},
}SCSS
$custom: #1b2983; $custom-light: #6a63a8; $custom-dark: #000000;
JSON
{
"hex": "#1b2983",
"rgb": {
"r": 27,
"g": 41,
"b": 131
},
"hsl": {
"h": 231.923,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.33721,
"c": 0.15036,
"h": 269.2
},
"luminance": 0.03458
}Semantic roles & 50–950 ramp
primary
#1B2983
secondary
#B6A743
accent
#D23FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F