#1B3495#1B3495
#1B3495 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.161 H 266.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3495 |
|---|---|
| RGB | rgb(27, 52, 149) |
| HSL | hsl(228, 69%, 35%) |
| HSV | hsv(228, 82%, 58%) |
| CMYK | cmyk(81.9%, 65.1%, 0%, 41.6%) |
| CIE-LAB | lab(26.33, 28.16, -55.69) |
| CIE-LCH | lch(26.33, 62.41, 296.83°) |
| OKLab | oklab(37.58% -0.0091 -0.1612) |
| OKLCH | oklch(37.58% 0.161 266.8) |
| XYZ | xyz(7.1029, 4.8581, 28.9913) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.34
Blueberry
#464196
ΔE00 6.20
Cobalt
#0047AB
ΔE00 6.83
Darkslateblue
#483D8B
ΔE00 6.89
Cobalt (survey)
#1E488F
ΔE00 7.30
Darkish Blue
#014182
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3495 #957C1B
analogous
#1B7195 #1B3495 #3F1B95
triadic
#1B3495 #951B34 #34951B
tetradic
#1B3495 #951B71 #957C1B #1B953F
square
#1B3495 #951B71 #957C1B #1B953F
split-complementary
#1B3495 #953F1B #71951B
monochromatic
#08102D #122261 #1B3495 #2446C9 #4C6ADF
Accessibility & contrast
On white
10.65
#1B3495 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#1B3495 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3495
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3495 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3495 | 1.00 | 10.65 | 1.97 | 10.65 |
| #FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1b3495; /* rgb */ color: rgb(27, 52, 149); /* oklch */ color: oklch(37.6% 0.161 266.8);
Tailwind
colors: {
custom: {
50: '#6e6bb5',
500: '#1b3495',
950: '#000000',
},
}SCSS
$custom: #1b3495; $custom-light: #6e6bb5; $custom-dark: #000000;
JSON
{
"hex": "#1b3495",
"rgb": {
"r": 27,
"g": 52,
"b": 149
},
"hsl": {
"h": 227.705,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.37577,
"c": 0.16146,
"h": 266.8
},
"luminance": 0.04859
}Semantic roles & 50–950 ramp
primary
#1B3495
secondary
#C1A94B
accent
#C83CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80