#1B337F#1B337F
#1B337F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.132 H 266.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1B337F |
|---|---|
| RGB | rgb(27, 51, 127) |
| HSL | hsl(226, 65%, 30%) |
| HSV | hsv(226, 79%, 50%) |
| CMYK | cmyk(78.7%, 59.8%, 0%, 50.2%) |
| CIE-LAB | lab(24.10, 20.12, -45.64) |
| CIE-LCH | lch(24.10, 49.88, 293.79°) |
| OKLab | oklab(35.32% -0.0086 -0.1317) |
| OKLCH | oklch(35.32% 0.132 266.3) |
| XYZ | xyz(5.4652, 4.1324, 20.5841) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.63
Marine Blue
#01386A
ΔE00 6.04
Darkish Blue
#014182
ΔE00 6.33
Sapphire (survey)
#2138AB
ΔE00 6.68
Cobalt (survey)
#1E488F
ΔE00 7.13
Twilight Blue
#0A437A
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B337F #7F671B
analogous
#1B657F #1B337F #351B7F
triadic
#1B337F #7F1B33 #337F1B
tetradic
#1B337F #7F1B65 #7F671B #1B7F35
square
#1B337F #7F1B65 #7F671B #1B7F35
split-complementary
#1B337F #7F351B #657F1B
monochromatic
#060A1A #101F4D #1B337F #2647B1 #3E63D6
Accessibility & contrast
On white
11.50
#1B337F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1B337F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B337F
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B337F | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1b337f; /* rgb */ color: rgb(27, 51, 127); /* oklch */ color: oklch(35.3% 0.132 266.3);
Tailwind
colors: {
custom: {
50: '#686aa5',
500: '#1b337f',
950: '#000000',
},
}SCSS
$custom: #1b337f; $custom-light: #686aa5; $custom-dark: #000000;
JSON
{
"hex": "#1b337f",
"rgb": {
"r": 27,
"g": 51,
"b": 127
},
"hsl": {
"h": 225.6,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.35322,
"c": 0.13203,
"h": 266.3
},
"luminance": 0.04133
}Semantic roles & 50–950 ramp
primary
#1B337F
secondary
#B39843
accent
#C040E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F