#1B3E95#1B3E95
#1B3E95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.149 H 264.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3E95 |
|---|---|
| RGB | rgb(27, 62, 149) |
| HSL | hsl(223, 69%, 35%) |
| HSV | hsv(223, 82%, 58%) |
| CMYK | cmyk(81.9%, 58.4%, 0%, 41.6%) |
| CIE-LAB | lab(29.02, 21.32, -51.28) |
| CIE-LCH | lch(29.02, 55.54, 292.57°) |
| OKLab | oklab(39.59% -0.0153 -0.1481) |
| OKLCH | oklch(39.59% 0.149 264.1) |
| XYZ | xyz(7.5975, 5.8473, 29.1562) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.90
Cobalt
#0047AB
ΔE00 4.08
Sapphire (survey)
#2138AB
ΔE00 4.51
Darkish Blue
#014182
ΔE00 4.71
Twilight Blue
#0A437A
ΔE00 5.88
Blueberry
#464196
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3E95 #95721B
analogous
#1B7B95 #1B3E95 #351B95
triadic
#1B3E95 #951B3E #3E951B
tetradic
#1B3E95 #951B7B #95721B #1B9535
square
#1B3E95 #951B7B #95721B #1B9535
split-complementary
#1B3E95 #95351B #7B951B
monochromatic
#08132D #122861 #1B3E95 #2454C9 #4C76DF
Accessibility & contrast
On white
9.68
#1B3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#1B3E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3E95
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3E95 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #1b3e95; /* rgb */ color: rgb(27, 62, 149); /* oklch */ color: oklch(39.6% 0.149 264.1);
Tailwind
colors: {
custom: {
50: '#6d72b5',
500: '#1b3e95',
950: '#000000',
},
}SCSS
$custom: #1b3e95; $custom-light: #6d72b5; $custom-dark: #000000;
JSON
{
"hex": "#1b3e95",
"rgb": {
"r": 27,
"g": 62,
"b": 149
},
"hsl": {
"h": 222.787,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.39587,
"c": 0.14893,
"h": 264.1
},
"luminance": 0.05848
}Semantic roles & 50–950 ramp
primary
#1B3E95
secondary
#C19F4B
accent
#BA3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80