#1B3793#1B3793
#1B3793 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.155 H 266.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3793 |
|---|---|
| RGB | rgb(27, 55, 147) |
| HSL | hsl(226, 69%, 34%) |
| HSV | hsv(226, 82%, 58%) |
| CMYK | cmyk(81.6%, 62.6%, 0%, 42.4%) |
| CIE-LAB | lab(26.94, 25.34, -53.46) |
| CIE-LCH | lch(26.94, 59.16, 295.36°) |
| OKLab | oklab(37.97% -0.0109 -0.1546) |
| OKLCH | oklch(37.97% 0.155 266) |
| XYZ | xyz(7.0828, 5.0711, 28.2036) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.70
Blueberry
#464196
ΔE00 6.04
Cobalt
#0047AB
ΔE00 6.05
Cobalt (survey)
#1E488F
ΔE00 6.20
Darkish Blue
#014182
ΔE00 6.39
Darkslateblue
#483D8B
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3793 #93771B
analogous
#1B7393 #1B3793 #3B1B93
triadic
#1B3793 #931B37 #37931B
tetradic
#1B3793 #931B73 #93771B #1B933B
square
#1B3793 #931B73 #93771B #1B933B
split-complementary
#1B3793 #933B1B #73931B
monochromatic
#08102C #12245F #1B3793 #244AC7 #4B6DDE
Accessibility & contrast
On white
10.42
#1B3793 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#1B3793 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3793
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3793 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3793 | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1b3793; /* rgb */ color: rgb(27, 55, 147); /* oklch */ color: oklch(38.0% 0.155 266.0);
Tailwind
colors: {
custom: {
50: '#6d6db4',
500: '#1b3793',
950: '#000000',
},
}SCSS
$custom: #1b3793; $custom-light: #6d6db4; $custom-dark: #000000;
JSON
{
"hex": "#1b3793",
"rgb": {
"r": 27,
"g": 55,
"b": 147
},
"hsl": {
"h": 226,
"s": 68.966,
"l": 34.118
},
"oklch": {
"l": 0.37973,
"c": 0.15502,
"h": 266
},
"luminance": 0.05072
}Semantic roles & 50–950 ramp
primary
#1B3793
secondary
#C0A44A
accent
#C33CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80