#1B3F95#1B3F95
#1B3F95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.148 H 263.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #1B3F95 |
|---|---|
| RGB | rgb(27, 63, 149) |
| HSL | hsl(222, 69%, 35%) |
| HSV | hsv(222, 82%, 58%) |
| CMYK | cmyk(81.9%, 57.7%, 0%, 41.6%) |
| CIE-LAB | lab(29.30, 20.63, -50.83) |
| CIE-LCH | lch(29.30, 54.85, 292.09°) |
| OKLab | oklab(39.8% -0.016 -0.1468) |
| OKLCH | oklch(39.8% 0.148 263.8) |
| XYZ | xyz(7.6524, 5.9570, 29.1745) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.55
Cobalt
#0047AB
ΔE00 3.84
Darkish Blue
#014182
ΔE00 4.48
Sapphire (survey)
#2138AB
ΔE00 4.75
Twilight Blue
#0A437A
ΔE00 5.64
Blueberry
#464196
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B3F95 #95711B
analogous
#1B7C95 #1B3F95 #341B95
triadic
#1B3F95 #951B3F #3F951B
tetradic
#1B3F95 #951B7C #95711B #1B9534
square
#1B3F95 #951B7C #95711B #1B9534
split-complementary
#1B3F95 #95341B #7C951B
monochromatic
#08132D #122961 #1B3F95 #2455C9 #4C77DF
Accessibility & contrast
On white
9.58
#1B3F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#1B3F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B3F95
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B3F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B3F95 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1b3f95; /* rgb */ color: rgb(27, 63, 149); /* oklch */ color: oklch(39.8% 0.148 263.8);
Tailwind
colors: {
custom: {
50: '#6d73b5',
500: '#1b3f95',
950: '#000000',
},
}SCSS
$custom: #1b3f95; $custom-light: #6d73b5; $custom-dark: #000000;
JSON
{
"hex": "#1b3f95",
"rgb": {
"r": 27,
"g": 63,
"b": 149
},
"hsl": {
"h": 222.295,
"s": 69.318,
"l": 34.51
},
"oklch": {
"l": 0.39797,
"c": 0.14765,
"h": 263.8
},
"luminance": 0.05958
}Semantic roles & 50–950 ramp
primary
#1B3F95
secondary
#C19E4B
accent
#B83CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80