#1B2283#1B2283
#1B2283 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.158 H 270.6°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2283 |
|---|---|
| RGB | rgb(27, 34, 131) |
| HSL | hsl(236, 66%, 31%) |
| HSV | hsv(236, 79%, 51%) |
| CMYK | cmyk(79.4%, 74%, 0%, 48.6%) |
| CIE-LAB | lab(20.10, 33.20, -54.72) |
| CIE-LCH | lch(20.10, 64.00, 301.25°) |
| OKLab | oklab(32.5% 0.0017 -0.1584) |
| OKLCH | oklch(32.5% 0.158 270.6) |
| XYZ | xyz(5.1194, 3.0152, 21.7805) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.47
Royal
#0C1793
ΔE00 3.67
Darkblue
#00008B
ΔE00 6.51
Dark Royal Blue
#02066F
ΔE00 6.58
Cobalt Blue
#030AA7
ΔE00 6.63
Navy
#000080
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2283 #837C1B
analogous
#1B5683 #1B2283 #481B83
triadic
#1B2283 #831B22 #22831B
tetradic
#1B2283 #831B56 #837C1B #1B8348
square
#1B2283 #831B56 #837C1B #1B8348
split-complementary
#1B2283 #83481B #56831B
monochromatic
#06081E #111550 #1B2283 #252FB6 #414BD8
Accessibility & contrast
On white
13.10
#1B2283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1B2283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2283
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2283 | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b2283; /* rgb */ color: rgb(27, 34, 131); /* oklch */ color: oklch(32.5% 0.158 270.6);
Tailwind
colors: {
custom: {
50: '#6b5ea8',
500: '#1b2283',
950: '#000000',
},
}SCSS
$custom: #1b2283; $custom-light: #6b5ea8; $custom-dark: #000000;
JSON
{
"hex": "#1b2283",
"rgb": {
"r": 27,
"g": 34,
"b": 131
},
"hsl": {
"h": 235.962,
"s": 65.823,
"l": 30.98
},
"oklch": {
"l": 0.32504,
"c": 0.15845,
"h": 270.6
},
"luminance": 0.03016
}Semantic roles & 50–950 ramp
primary
#1B2283
secondary
#B6AF43
accent
#DD3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F