#1B398C#1B398C
#1B398C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.143 H 265.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1B398C |
|---|---|
| RGB | rgb(27, 57, 140) |
| HSL | hsl(224, 68%, 33%) |
| HSV | hsv(224, 81%, 55%) |
| CMYK | cmyk(80.7%, 59.3%, 0%, 45.1%) |
| CIE-LAB | lab(26.88, 21.16, -49.23) |
| CIE-LCH | lch(26.88, 53.59, 293.26°) |
| OKLab | oklab(37.74% -0.0124 -0.1422) |
| OKLCH | oklch(37.74% 0.143 265) |
| XYZ | xyz(6.6471, 5.0519, 25.4307) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.00
Darkish Blue
#014182
ΔE00 5.15
Cobalt (survey)
#1E488F
ΔE00 5.22
Cobalt
#0047AB
ΔE00 5.92
Twilight Blue
#0A437A
ΔE00 6.31
Marine Blue
#01386A
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B398C #8C6E1B
analogous
#1B718C #1B398C #361B8C
triadic
#1B398C #8C1B39 #398C1B
tetradic
#1B398C #8C1B71 #8C6E1B #1B8C36
square
#1B398C #8C1B71 #8C6E1B #1B8C36
split-complementary
#1B398C #8C361B #718C1B
monochromatic
#070F25 #112459 #1B398C #254EBF #466EDB
Accessibility & contrast
On white
10.44
#1B398C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#1B398C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B398C
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B398C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B398C | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1b398c; /* rgb */ color: rgb(27, 57, 140); /* oklch */ color: oklch(37.7% 0.143 265.0);
Tailwind
colors: {
custom: {
50: '#6b6eae',
500: '#1b398c',
950: '#000000',
},
}SCSS
$custom: #1b398c; $custom-light: #6b6eae; $custom-dark: #000000;
JSON
{
"hex": "#1b398c",
"rgb": {
"r": 27,
"g": 57,
"b": 140
},
"hsl": {
"h": 224.071,
"s": 67.665,
"l": 32.745
},
"oklch": {
"l": 0.37745,
"c": 0.14274,
"h": 265
},
"luminance": 0.05053
}Semantic roles & 50–950 ramp
primary
#1B398C
secondary
#BD9D46
accent
#BD3DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F