#1B378F#1B378F
#1B378F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.149 H 265.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1B378F |
|---|---|
| RGB | rgb(27, 55, 143) |
| HSL | hsl(226, 68%, 33%) |
| HSV | hsv(226, 81%, 56%) |
| CMYK | cmyk(81.1%, 61.5%, 0%, 43.9%) |
| CIE-LAB | lab(26.59, 23.75, -51.57) |
| CIE-LCH | lch(26.59, 56.78, 294.73°) |
| OKLab | oklab(37.6% -0.0109 -0.1491) |
| OKLCH | oklch(37.6% 0.15 265.8) |
| XYZ | xyz(6.7744, 4.9478, 26.5793) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.33
Cobalt (survey)
#1E488F
ΔE00 6.02
Darkish Blue
#014182
ΔE00 6.03
Blueberry
#464196
ΔE00 6.20
Cobalt
#0047AB
ΔE00 6.24
Darkslateblue
#483D8B
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B378F #8F731B
analogous
#1B718F #1B378F #391B8F
triadic
#1B378F #8F1B37 #378F1B
tetradic
#1B378F #8F1B71 #8F731B #1B8F39
square
#1B378F #8F1B71 #8F731B #1B8F39
split-complementary
#1B378F #8F391B #718F1B
monochromatic
#080F28 #11235C #1B378F #254BC2 #486CDC
Accessibility & contrast
On white
10.55
#1B378F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#1B378F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B378F
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B378F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B378F | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1b378f; /* rgb */ color: rgb(27, 55, 143); /* oklch */ color: oklch(37.6% 0.149 265.8);
Tailwind
colors: {
custom: {
50: '#6c6db1',
500: '#1b378f',
950: '#000000',
},
}SCSS
$custom: #1b378f; $custom-light: #6c6db1; $custom-dark: #000000;
JSON
{
"hex": "#1b378f",
"rgb": {
"r": 27,
"g": 55,
"b": 143
},
"hsl": {
"h": 225.517,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.37603,
"c": 0.1495,
"h": 265.8
},
"luminance": 0.04949
}Semantic roles & 50–950 ramp
primary
#1B378F
secondary
#BEA248
accent
#C13DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80