#1B336B#1B336B
#1B336B is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.6% C 0.102 H 264.2°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1B336B |
|---|---|
| RGB | rgb(27, 51, 107) |
| HSL | hsl(222, 60%, 26%) |
| HSV | hsv(222, 75%, 42%) |
| CMYK | cmyk(74.8%, 52.3%, 0%, 58%) |
| CIE-LAB | lab(22.52, 11.97, -35.45) |
| CIE-LCH | lch(22.52, 37.42, 288.65°) |
| OKLab | oklab(33.62% -0.0104 -0.1018) |
| OKLCH | oklch(33.62% 0.102 264.2) |
| XYZ | xyz(4.2887, 3.6618, 14.3878) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.99
Marine Blue
#01386A
ΔE00 4.33
Navy Blue
#1B2A4A
ΔE00 6.27
Darkish Blue
#014182
ΔE00 6.27
Twilight Blue
#0A437A
ΔE00 6.74
Cobalt (survey)
#1E488F
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B336B #6B531B
analogous
#1B5B6B #1B336B #2B1B6B
triadic
#1B336B #6B1B33 #336B1B
tetradic
#1B336B #6B1B5B #6B531B #1B6B2B
square
#1B336B #6B1B5B #6B531B #1B6B2B
split-complementary
#1B336B #6B2B1B #5B6B1B
monochromatic
#060C18 #0F1C3A #1B336B #274A9C #3562CC
Accessibility & contrast
On white
12.12
#1B336B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1B336B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B336B
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B336B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B336B | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#133A6D
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1b336b; /* rgb */ color: rgb(27, 51, 107); /* oklch */ color: oklch(33.6% 0.102 264.2);
Tailwind
colors: {
custom: {
50: '#636a96',
500: '#1b336b',
950: '#000000',
},
}SCSS
$custom: #1b336b; $custom-light: #636a96; $custom-dark: #000000;
JSON
{
"hex": "#1b336b",
"rgb": {
"r": 27,
"g": 51,
"b": 107
},
"hsl": {
"h": 222,
"s": 59.701,
"l": 26.275
},
"oklch": {
"l": 0.33624,
"c": 0.10233,
"h": 264.2
},
"luminance": 0.03662
}Semantic roles & 50–950 ramp
primary
#1B336B
secondary
#A08442
accent
#B345E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E