#0D315E#0D315E
#0D315E is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.5% C 0.090 H 256.1°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).
Color values
| HEX | #0D315E |
|---|---|
| RGB | rgb(13, 49, 94) |
| HSL | hsl(213, 76%, 21%) |
| HSV | hsv(213, 86%, 37%) |
| CMYK | cmyk(86.2%, 47.9%, 0%, 63.1%) |
| CIE-LAB | lab(20.40, 5.95, -30.42) |
| CIE-LCH | lch(20.40, 31.00, 281.07°) |
| OKLab | oklab(31.54% -0.0216 -0.0872) |
| OKLCH | oklch(31.54% 0.09 256.1) |
| XYZ | xyz(3.2839, 3.0899, 11.0108) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 1.20
Marine Blue
#01386A
ΔE00 3.03
Navy Blue
#1B2A4A
ΔE00 4.99
Darkish Blue
#014182
ΔE00 6.54
Twilight Blue
#0A437A
ΔE00 6.54
Prussian Blue
#004577
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0D315E #5E3A0D
analogous
#0D595E #0D315E #110D5E
triadic
#0D315E #5E0D31 #315E0D
tetradic
#0D315E #5E0D59 #5E3A0D #0D5E11
square
#0D315E #5E0D59 #5E3A0D #0D5E11
split-complementary
#0D315E #5E110D #595E0D
monochromatic
#040E1B #061528 #0D315E #144D94 #1C69CA
Accessibility & contrast
On white
12.98
#0D315E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#0D315E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0D315E
12.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0D315E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0D315E | 1.00 | 12.98 | 1.62 | 12.98 |
| #FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193560
Deuteranopia (green-blind)
#082E5D
Tritanopia (blue-blind)
#003C42
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #0d315e; /* rgb */ color: rgb(13, 49, 94); /* oklch */ color: oklch(31.5% 0.090 256.1);
Tailwind
colors: {
custom: {
50: '#5b688c',
500: '#0d315e',
950: '#000000',
},
}SCSS
$custom: #0d315e; $custom-light: #5b688c; $custom-dark: #000000;
JSON
{
"hex": "#0d315e",
"rgb": {
"r": 13,
"g": 49,
"b": 94
},
"hsl": {
"h": 213.333,
"s": 75.701,
"l": 20.98
},
"oklch": {
"l": 0.31541,
"c": 0.08989,
"h": 256.1
},
"luminance": 0.0309
}Semantic roles & 50–950 ramp
primary
#0D315E
secondary
#98692F
accent
#9E36F2
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D