#1D307C#1D307C
#1D307C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.131 H 268.0°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1D307C |
|---|---|
| RGB | rgb(29, 48, 124) |
| HSL | hsl(228, 62%, 30%) |
| HSV | hsv(228, 77%, 49%) |
| CMYK | cmyk(76.6%, 61.3%, 0%, 51.4%) |
| CIE-LAB | lab(23.10, 21.28, -45.38) |
| CIE-LCH | lch(23.10, 50.12, 295.13°) |
| OKLab | oklab(34.52% -0.0046 -0.131) |
| OKLCH | oklch(34.52% 0.131 268) |
| XYZ | xyz(5.2005, 3.8298, 19.5300) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.75
Marine Blue
#01386A
ΔE00 6.76
Midnight Blue
#191970
ΔE00 6.92
Sapphire (survey)
#2138AB
ΔE00 7.13
Darkslateblue
#483D8B
ΔE00 7.29
Darkish Blue
#014182
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D307C #7C691D
analogous
#1D607C #1D307C #391D7C
triadic
#1D307C #7C1D30 #307C1D
tetradic
#1D307C #7C1D60 #7C691D #1D7C39
square
#1D307C #7C1D60 #7C691D #1D7C39
split-complementary
#1D307C #7C391D #607C1D
monochromatic
#060A19 #111D4A #1D307C #2943AE #415ED3
Accessibility & contrast
On white
11.89
#1D307C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1D307C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D307C
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D307C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D307C | 1.00 | 11.89 | 1.77 | 11.89 |
| #FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1d307c; /* rgb */ color: rgb(29, 48, 124); /* oklch */ color: oklch(34.5% 0.131 268.0);
Tailwind
colors: {
custom: {
50: '#6868a3',
500: '#1d307c',
950: '#000000',
},
}SCSS
$custom: #1d307c; $custom-light: #6868a3; $custom-dark: #000000;
JSON
{
"hex": "#1d307c",
"rgb": {
"r": 29,
"g": 48,
"b": 124
},
"hsl": {
"h": 228,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.34518,
"c": 0.13106,
"h": 268
},
"luminance": 0.0383
}Semantic roles & 50–950 ramp
primary
#1D307C
secondary
#B09A45
accent
#C543E5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F