#1B397C#1B397C
#1B397C is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.4% C 0.120 H 263.5°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1B397C |
|---|---|
| RGB | rgb(27, 57, 124) |
| HSL | hsl(221, 64%, 30%) |
| HSV | hsv(221, 78%, 49%) |
| CMYK | cmyk(78.2%, 54%, 0%, 51.4%) |
| CIE-LAB | lab(25.61, 14.67, -41.31) |
| CIE-LCH | lch(25.61, 43.84, 289.55°) |
| OKLab | oklab(36.38% -0.0136 -0.1189) |
| OKLCH | oklch(36.38% 0.12 263.5) |
| XYZ | xyz(5.5519, 4.6139, 19.6628) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 4.19
Marine Blue
#01386A
ΔE00 4.32
Twilight Blue
#0A437A
ΔE00 5.08
Marine
#042E60
ΔE00 5.10
Cobalt (survey)
#1E488F
ΔE00 5.25
Prussian Blue
#004577
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B397C #7C5E1B
analogous
#1B6A7C #1B397C #2D1B7C
triadic
#1B397C #7C1B39 #397C1B
tetradic
#1B397C #7C1B6A #7C5E1B #1B7C2D
square
#1B397C #7C1B6A #7C5E1B #1B7C2D
split-complementary
#1B397C #7C2D1B #6A7C1B
monochromatic
#050C19 #10224A #1B397C #2650AE #3D6CD5
Accessibility & contrast
On white
10.92
#1B397C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#1B397C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B397C
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B397C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B397C | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B417E
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1b397c; /* rgb */ color: rgb(27, 57, 124); /* oklch */ color: oklch(36.4% 0.120 263.5);
Tailwind
colors: {
custom: {
50: '#676ea2',
500: '#1b397c',
950: '#000000',
},
}SCSS
$custom: #1b397c; $custom-light: #676ea2; $custom-dark: #000000;
JSON
{
"hex": "#1b397c",
"rgb": {
"r": 27,
"g": 57,
"b": 124
},
"hsl": {
"h": 221.443,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.36379,
"c": 0.1197,
"h": 263.5
},
"luminance": 0.04615
}Semantic roles & 50–950 ramp
primary
#1B397C
secondary
#B08E43
accent
#B441E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F