#1B3795#1B3795
#1B3795 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.158 H 266.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3795 |
|---|---|
| RGB | rgb(27, 55, 149) |
| HSL | hsl(226, 69%, 35%) |
| HSV | hsv(226, 82%, 58%) |
| CMYK | cmyk(81.9%, 63.1%, 0%, 41.6%) |
| CIE-LAB | lab(27.11, 26.12, -54.40) |
| CIE-LCH | lch(27.11, 60.35, 295.65°) |
| OKLab | oklab(38.16% -0.0109 -0.1574) |
| OKLCH | oklch(38.16% 0.158 266) |
| XYZ | xyz(7.2411, 5.1345, 29.0374) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.40
Cobalt
#0047AB
ΔE00 5.97
Blueberry
#464196
ΔE00 5.99
Cobalt (survey)
#1E488F
ΔE00 6.31
Darkish Blue
#014182
ΔE00 6.57
Darkslateblue
#483D8B
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3795 #95791B
analogous
#1B7495 #1B3795 #3C1B95
triadic
#1B3795 #951B37 #37951B
tetradic
#1B3795 #951B74 #95791B #1B953C
square
#1B3795 #951B74 #95791B #1B953C
split-complementary
#1B3795 #953C1B #74951B
monochromatic
#08112D #122461 #1B3795 #244AC9 #4C6EDF
Accessibility & contrast
On white
10.36
#1B3795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1B3795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3795
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3795 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1b3795; /* rgb */ color: rgb(27, 55, 149); /* oklch */ color: oklch(38.2% 0.158 266.0);
Tailwind
colors: {
custom: {
50: '#6e6db5',
500: '#1b3795',
950: '#000000',
},
}SCSS
$custom: #1b3795; $custom-light: #6e6db5; $custom-dark: #000000;
JSON
{
"hex": "#1b3795",
"rgb": {
"r": 27,
"g": 55,
"b": 149
},
"hsl": {
"h": 226.23,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.3816,
"c": 0.15776,
"h": 266
},
"luminance": 0.05135
}Semantic roles & 50–950 ramp
primary
#1B3795
secondary
#C1A64B
accent
#C43CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80