#1C338F#1C338F
#1C338F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.154 H 267.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1C338F |
|---|---|
| RGB | rgb(28, 51, 143) |
| HSL | hsl(228, 67%, 34%) |
| HSV | hsv(228, 80%, 56%) |
| CMYK | cmyk(80.4%, 64.3%, 0%, 43.9%) |
| CIE-LAB | lab(25.55, 26.60, -53.26) |
| CIE-LCH | lch(25.55, 59.53, 296.54°) |
| OKLab | oklab(36.85% -0.0076 -0.1541) |
| OKLCH | oklch(36.85% 0.154 267.2) |
| XYZ | xyz(6.6189, 4.5969, 26.5197) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.21
Blueberry
#464196
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.79
Darkish Blue
#014182
ΔE00 7.33
Cobalt
#0047AB
ΔE00 7.37
Cobalt (survey)
#1E488F
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C338F #8F781C
analogous
#1C6C8F #1C338F #3E1C8F
triadic
#1C338F #8F1C33 #338F1C
tetradic
#1C338F #8F1C6C #8F781C #1C8F3E
square
#1C338F #8F1C6C #8F781C #1C8F3E
split-complementary
#1C338F #8F3E1C #6C8F1C
monochromatic
#080E29 #12215C #1C338F #2645C2 #4A67DC
Accessibility & contrast
On white
10.94
#1C338F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#1C338F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C338F
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C338F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C338F | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1c338f; /* rgb */ color: rgb(28, 51, 143); /* oklch */ color: oklch(36.8% 0.154 267.2);
Tailwind
colors: {
custom: {
50: '#6d6ab1',
500: '#1c338f',
950: '#000000',
},
}SCSS
$custom: #1c338f; $custom-light: #6d6ab1; $custom-dark: #000000;
JSON
{
"hex": "#1c338f",
"rgb": {
"r": 28,
"g": 51,
"b": 143
},
"hsl": {
"h": 228,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.36849,
"c": 0.15426,
"h": 267.2
},
"luminance": 0.04598
}Semantic roles & 50–950 ramp
primary
#1C338F
secondary
#BEA649
accent
#C83EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80