#1B2485#1B2485
#1B2485 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.159 H 270.2°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2485 |
|---|---|
| RGB | rgb(27, 36, 133) |
| HSL | hsl(235, 66%, 31%) |
| HSV | hsv(235, 80%, 52%) |
| CMYK | cmyk(79.7%, 72.9%, 0%, 47.8%) |
| CIE-LAB | lab(20.78, 32.67, -54.86) |
| CIE-LCH | lch(20.78, 63.85, 300.77°) |
| OKLab | oklab(33.05% 0.0005 -0.1589) |
| OKLCH | oklch(33.05% 0.159 270.2) |
| XYZ | xyz(5.3151, 3.1876, 22.5209) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.90
Midnight Blue
#191970
ΔE00 4.00
Cobalt Blue
#030AA7
ΔE00 6.77
Darkblue
#00008B
ΔE00 6.95
Dark Royal Blue
#02066F
ΔE00 7.15
Navy
#000080
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2485 #857C1B
analogous
#1B5985 #1B2485 #471B85
triadic
#1B2485 #851B24 #24851B
tetradic
#1B2485 #851B59 #857C1B #1B8547
square
#1B2485 #851B59 #857C1B #1B8547
split-complementary
#1B2485 #85471B #59851B
monochromatic
#06081F #111652 #1B2485 #2532B8 #424FD9
Accessibility & contrast
On white
12.82
#1B2485 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1B2485 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2485
12.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2485 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2485 | 1.00 | 12.82 | 1.64 | 12.82 |
| #FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1b2485; /* rgb */ color: rgb(27, 36, 133); /* oklch */ color: oklch(33.1% 0.159 270.2);
Tailwind
colors: {
custom: {
50: '#6b5faa',
500: '#1b2485',
950: '#000000',
},
}SCSS
$custom: #1b2485; $custom-light: #6b5faa; $custom-dark: #000000;
JSON
{
"hex": "#1b2485",
"rgb": {
"r": 27,
"g": 36,
"b": 133
},
"hsl": {
"h": 234.906,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.33053,
"c": 0.15887,
"h": 270.2
},
"luminance": 0.03188
}Semantic roles & 50–950 ramp
primary
#1B2485
secondary
#B8AE44
accent
#DB3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F