#1C338D#1C338D
#1C338D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.152 H 267.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1C338D |
|---|---|
| RGB | rgb(28, 51, 141) |
| HSL | hsl(228, 67%, 33%) |
| HSV | hsv(228, 80%, 55%) |
| CMYK | cmyk(80.1%, 63.8%, 0%, 44.7%) |
| CIE-LAB | lab(25.37, 25.81, -52.32) |
| CIE-LCH | lch(25.37, 58.34, 296.26°) |
| OKLab | oklab(36.66% -0.0075 -0.1513) |
| OKLCH | oklch(36.66% 0.152 267.1) |
| XYZ | xyz(6.4688, 4.5369, 25.7289) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.50
Blueberry
#464196
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.79
Darkish Blue
#014182
ΔE00 7.19
Cobalt (survey)
#1E488F
ΔE00 7.35
Cobalt
#0047AB
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C338D #8D761C
analogous
#1C6B8D #1C338D #3E1C8D
triadic
#1C338D #8D1C33 #338D1C
tetradic
#1C338D #8D1C6B #8D761C #1C8D3E
square
#1C338D #8D1C6B #8D761C #1C8D3E
split-complementary
#1C338D #8D3E1C #6B8D1C
monochromatic
#080E27 #12215A #1C338D #2645C0 #4966DB
Accessibility & contrast
On white
11.01
#1C338D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#1C338D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C338D
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C338D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C338D | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1c338d; /* rgb */ color: rgb(28, 51, 141); /* oklch */ color: oklch(36.7% 0.152 267.1);
Tailwind
colors: {
custom: {
50: '#6c6aaf',
500: '#1c338d',
950: '#000000',
},
}SCSS
$custom: #1c338d; $custom-light: #6c6aaf; $custom-dark: #000000;
JSON
{
"hex": "#1c338d",
"rgb": {
"r": 28,
"g": 51,
"b": 141
},
"hsl": {
"h": 227.788,
"s": 66.864,
"l": 33.137
},
"oklch": {
"l": 0.36658,
"c": 0.15151,
"h": 267.1
},
"luminance": 0.04538
}Semantic roles & 50–950 ramp
primary
#1C338D
secondary
#BDA548
accent
#C73EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F