#1B438C#1B438C
#1B438C is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.130 H 261.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1B438C |
|---|---|
| RGB | rgb(27, 67, 140) |
| HSL | hsl(219, 68%, 33%) |
| HSV | hsv(219, 81%, 55%) |
| CMYK | cmyk(80.7%, 52.1%, 0%, 45.1%) |
| CIE-LAB | lab(29.76, 14.22, -44.56) |
| CIE-LCH | lch(29.76, 46.77, 287.70°) |
| OKLab | oklab(39.93% -0.0199 -0.1283) |
| OKLCH | oklch(39.93% 0.13 261.2) |
| XYZ | xyz(7.1911, 6.1399, 25.6120) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.65
Darkish Blue
#014182
ΔE00 2.66
Twilight Blue
#0A437A
ΔE00 3.68
Cobalt
#0047AB
ΔE00 4.17
Prussian Blue
#004577
ΔE00 5.12
Dusk Blue
#26538D
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B438C #8C641B
analogous
#1B7B8C #1B438C #2B1B8C
triadic
#1B438C #8C1B43 #438C1B
tetradic
#1B438C #8C1B7B #8C641B #1B8C2B
square
#1B438C #8C1B7B #8C641B #1B8C2B
split-complementary
#1B438C #8C2B1B #7B8C1B
monochromatic
#071225 #112A59 #1B438C #255CBF #467BDB
Accessibility & contrast
On white
9.42
#1B438C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1B438C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B438C
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B438C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B438C | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144C8F
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1b438c; /* rgb */ color: rgb(27, 67, 140); /* oklch */ color: oklch(39.9% 0.130 261.2);
Tailwind
colors: {
custom: {
50: '#6a76ae',
500: '#1b438c',
950: '#000000',
},
}SCSS
$custom: #1b438c; $custom-light: #6a76ae; $custom-dark: #000000;
JSON
{
"hex": "#1b438c",
"rgb": {
"r": 27,
"g": 67,
"b": 140
},
"hsl": {
"h": 218.761,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.39926,
"c": 0.1298,
"h": 261.2
},
"luminance": 0.06141
}Semantic roles & 50–950 ramp
primary
#1B438C
secondary
#BD9346
accent
#AD3DEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F