#1B335A#1B335A
#1B335A is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.076 H 259.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1B335A |
|---|---|
| RGB | rgb(27, 51, 90) |
| HSL | hsl(217, 54%, 23%) |
| HSV | hsv(217, 70%, 35%) |
| CMYK | cmyk(70%, 43.3%, 0%, 64.7%) |
| CIE-LAB | lab(21.35, 5.04, -26.23) |
| CIE-LCH | lch(21.35, 26.71, 280.88°) |
| OKLab | oklab(32.35% -0.0136 -0.0747) |
| OKLCH | oklch(32.35% 0.076 259.7) |
| XYZ | xyz(3.4806, 3.3385, 10.1318) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.86
Navy Blue
#1B2A4A
ΔE00 3.84
Marine Blue
#01386A
ΔE00 4.15
Twilight Blue
#0A437A
ΔE00 7.07
Darkish Blue
#014182
ΔE00 7.26
Prussian Blue
#004577
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B335A #5A421B
analogous
#1B525A #1B335A #221B5A
triadic
#1B335A #5A1B33 #335A1B
tetradic
#1B335A #5A1B52 #5A421B #1B5A22
square
#1B335A #5A1B52 #5A421B #1B5A22
split-complementary
#1B335A #5A221B #525A1B
monochromatic
#070D18 #0D182B #1B335A #294E89 #3768B8
Accessibility & contrast
On white
12.59
#1B335A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1B335A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B335A
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B335A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B335A | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21365C
Deuteranopia (green-blind)
#183159
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1b335a; /* rgb */ color: rgb(27, 51, 90); /* oklch */ color: oklch(32.3% 0.076 259.7);
Tailwind
colors: {
custom: {
50: '#5f6a89',
500: '#1b335a',
950: '#000000',
},
}SCSS
$custom: #1b335a; $custom-light: #5f6a89; $custom-dark: #000000;
JSON
{
"hex": "#1b335a",
"rgb": {
"r": 27,
"g": 51,
"b": 90
},
"hsl": {
"h": 217.143,
"s": 53.846,
"l": 22.941
},
"oklch": {
"l": 0.32349,
"c": 0.07593,
"h": 259.7
},
"luminance": 0.03339
}Semantic roles & 50–950 ramp
primary
#1B335A
secondary
#907241
accent
#A54BDD
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060B
muted
#797A7C