#1B438A#1B438A
#1B438A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.127 H 260.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1B438A |
|---|---|
| RGB | rgb(27, 67, 138) |
| HSL | hsl(218, 67%, 32%) |
| HSV | hsv(218, 80%, 54%) |
| CMYK | cmyk(80.4%, 51.4%, 0%, 45.9%) |
| CIE-LAB | lab(29.62, 13.40, -43.56) |
| CIE-LCH | lch(29.62, 45.58, 287.10°) |
| OKLab | oklab(39.77% -0.0201 -0.1253) |
| OKLCH | oklch(39.77% 0.127 260.9) |
| XYZ | xyz(7.0449, 6.0815, 24.8424) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.67
Darkish Blue
#014182
ΔE00 2.43
Twilight Blue
#0A437A
ΔE00 3.42
Cobalt
#0047AB
ΔE00 4.42
Prussian Blue
#004577
ΔE00 4.90
Dusk Blue
#26538D
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B438A #8A621B
analogous
#1B7B8A #1B438A #2A1B8A
triadic
#1B438A #8A1B43 #438A1B
tetradic
#1B438A #8A1B7B #8A621B #1B8A2A
square
#1B438A #8A1B7B #8A621B #1B8A2A
split-complementary
#1B438A #8A2A1B #7B8A1B
monochromatic
#071124 #112A57 #1B438A #255CBD #457BDB
Accessibility & contrast
On white
9.47
#1B438A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#1B438A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B438A
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B438A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B438A | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174B8D
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1b438a; /* rgb */ color: rgb(27, 67, 138); /* oklch */ color: oklch(39.8% 0.127 260.9);
Tailwind
colors: {
custom: {
50: '#6a76ad',
500: '#1b438a',
950: '#000000',
},
}SCSS
$custom: #1b438a; $custom-light: #6a76ad; $custom-dark: #000000;
JSON
{
"hex": "#1b438a",
"rgb": {
"r": 27,
"g": 67,
"b": 138
},
"hsl": {
"h": 218.378,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.39768,
"c": 0.12694,
"h": 260.9
},
"luminance": 0.06082
}Semantic roles & 50–950 ramp
primary
#1B438A
secondary
#BC9145
accent
#AC3EEA
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F