#1A315E#1A315E
#1A315E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.085 H 262.3°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1A315E |
|---|---|
| RGB | rgb(26, 49, 94) |
| HSL | hsl(220, 57%, 24%) |
| HSV | hsv(220, 72%, 37%) |
| CMYK | cmyk(72.3%, 47.9%, 0%, 63.1%) |
| CIE-LAB | lab(20.92, 7.90, -29.56) |
| CIE-LCH | lch(20.92, 30.60, 284.97°) |
| OKLab | oklab(32.09% -0.0114 -0.0845) |
| OKLCH | oklch(32.09% 0.085 262.3) |
| XYZ | xyz(3.5440, 3.2240, 11.0230) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.36
Navy Blue
#1B2A4A
ΔE00 4.15
Marine Blue
#01386A
ΔE00 4.53
Darkish Blue
#014182
ΔE00 7.43
Twilight Blue
#0A437A
ΔE00 7.50
Prussian Blue
#004577
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A315E #5E471A
analogous
#1A535E #1A315E #251A5E
triadic
#1A315E #5E1A31 #315E1A
tetradic
#1A315E #5E1A53 #5E471A #1A5E25
square
#1A315E #5E1A53 #5E471A #1A5E25
split-complementary
#1A315E #5E251A #535E1A
monochromatic
#070C18 #0D182E #1A315E #274A8E #3563BE
Accessibility & contrast
On white
12.77
#1A315E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1A315E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A315E
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A315E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A315E | 1.00 | 12.77 | 1.64 | 12.77 |
| #FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3660
Deuteranopia (green-blind)
#0F2F5D
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1a315e; /* rgb */ color: rgb(26, 49, 94); /* oklch */ color: oklch(32.1% 0.085 262.3);
Tailwind
colors: {
custom: {
50: '#5f688c',
500: '#1a315e',
950: '#000000',
},
}SCSS
$custom: #1a315e; $custom-light: #5f688c; $custom-dark: #000000;
JSON
{
"hex": "#1a315e",
"rgb": {
"r": 26,
"g": 49,
"b": 94
},
"hsl": {
"h": 219.706,
"s": 56.667,
"l": 23.529
},
"oklch": {
"l": 0.32087,
"c": 0.08528,
"h": 262.3
},
"luminance": 0.03224
}Semantic roles & 50–950 ramp
primary
#1A315E
secondary
#947740
accent
#AD48E0
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D