#1B396F#1B396F
#1B396F is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.100 H 261.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1B396F |
|---|---|
| RGB | rgb(27, 57, 111) |
| HSL | hsl(219, 61%, 27%) |
| HSV | hsv(219, 76%, 44%) |
| CMYK | cmyk(75.7%, 48.6%, 0%, 56.5%) |
| CIE-LAB | lab(24.66, 9.34, -34.58) |
| CIE-LCH | lch(24.66, 35.82, 285.12°) |
| OKLab | oklab(35.35% -0.0156 -0.0991) |
| OKLCH | oklch(35.35% 0.1 261.1) |
| XYZ | xyz(4.7833, 4.3065, 15.6150) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 2.96
Marine
#042E60
ΔE00 3.80
Darkish Blue
#014182
ΔE00 4.28
Twilight Blue
#0A437A
ΔE00 4.62
Cobalt (survey)
#1E488F
ΔE00 6.03
Prussian Blue
#004577
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B396F #6F511B
analogous
#1B636F #1B396F #271B6F
triadic
#1B396F #6F1B39 #396F1B
tetradic
#1B396F #6F1B63 #6F511B #1B6F27
square
#1B396F #6F1B63 #6F511B #1B6F27
split-complementary
#1B396F #6F271B #636F1B
monochromatic
#060D19 #0F203E #1B396F #2752A0 #366CCE
Accessibility & contrast
On white
11.28
#1B396F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1B396F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B396F
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B396F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B396F | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#0A376E
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1b396f; /* rgb */ color: rgb(27, 57, 111); /* oklch */ color: oklch(35.4% 0.100 261.1);
Tailwind
colors: {
custom: {
50: '#646e99',
500: '#1b396f',
950: '#000000',
},
}SCSS
$custom: #1b396f; $custom-light: #646e99; $custom-dark: #000000;
JSON
{
"hex": "#1b396f",
"rgb": {
"r": 27,
"g": 57,
"b": 111
},
"hsl": {
"h": 218.571,
"s": 60.87,
"l": 27.059
},
"oklch": {
"l": 0.35354,
"c": 0.10033,
"h": 261.1
},
"luminance": 0.04307
}Semantic roles & 50–950 ramp
primary
#1B396F
secondary
#A48142
accent
#AB44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E