#1B3396#1B3396
#1B3396 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.164 H 267.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3396 |
|---|---|
| RGB | rgb(27, 51, 150) |
| HSL | hsl(228, 69%, 35%) |
| HSV | hsv(228, 82%, 59%) |
| CMYK | cmyk(82%, 66%, 0%, 41.2%) |
| CIE-LAB | lab(26.16, 29.23, -56.57) |
| CIE-LCH | lch(26.16, 63.68, 297.32°) |
| OKLab | oklab(37.49% -0.0086 -0.1638) |
| OKLCH | oklch(37.49% 0.164 267) |
| XYZ | xyz(7.1389, 4.8018, 29.3988) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.25
Blueberry
#464196
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.95
Cobalt
#0047AB
ΔE00 7.09
Royal
#0C1793
ΔE00 7.24
Cobalt (survey)
#1E488F
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3396 #967E1B
analogous
#1B7096 #1B3396 #411B96
triadic
#1B3396 #961B33 #33961B
tetradic
#1B3396 #961B70 #967E1B #1B9641
square
#1B3396 #961B70 #967E1B #1B9641
split-complementary
#1B3396 #96411B #70961B
monochromatic
#08102E #122162 #1B3396 #2445CA #4D69DF
Accessibility & contrast
On white
10.71
#1B3396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#1B3396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3396
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3396 | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1b3396; /* rgb */ color: rgb(27, 51, 150); /* oklch */ color: oklch(37.5% 0.164 267.0);
Tailwind
colors: {
custom: {
50: '#6e6ab6',
500: '#1b3396',
950: '#000000',
},
}SCSS
$custom: #1b3396; $custom-light: #6e6ab6; $custom-dark: #000000;
JSON
{
"hex": "#1b3396",
"rgb": {
"r": 27,
"g": 51,
"b": 150
},
"hsl": {
"h": 228.293,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.37485,
"c": 0.16402,
"h": 267
},
"luminance": 0.04803
}Semantic roles & 50–950 ramp
primary
#1B3396
secondary
#C1AA4C
accent
#CA3BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80