#1C338C#1C338C
#1C338C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.150 H 267.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1C338C |
|---|---|
| RGB | rgb(28, 51, 140) |
| HSL | hsl(228, 67%, 33%) |
| HSV | hsv(228, 80%, 55%) |
| CMYK | cmyk(80%, 63.6%, 0%, 45.1%) |
| CIE-LAB | lab(25.28, 25.42, -51.84) |
| CIE-LCH | lch(25.28, 57.74, 296.12°) |
| OKLab | oklab(36.56% -0.0075 -0.1499) |
| OKLCH | oklch(36.56% 0.15 267.1) |
| XYZ | xyz(6.3947, 4.5072, 25.3388) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.65
Blueberry
#464196
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.80
Darkish Blue
#014182
ΔE00 7.12
Cobalt (survey)
#1E488F
ΔE00 7.32
Cobalt
#0047AB
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C338C #8C751C
analogous
#1C6B8C #1C338C #3D1C8C
triadic
#1C338C #8C1C33 #338C1C
tetradic
#1C338C #8C1C6B #8C751C #1C8C3D
square
#1C338C #8C1C6B #8C751C #1C8C3D
split-complementary
#1C338C #8C3D1C #6B8C1C
monochromatic
#080E26 #122059 #1C338C #2646BF #4866DA
Accessibility & contrast
On white
11.04
#1C338C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#1C338C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C338C
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C338C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C338C | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1c338c; /* rgb */ color: rgb(28, 51, 140); /* oklch */ color: oklch(36.6% 0.150 267.1);
Tailwind
colors: {
custom: {
50: '#6c6aae',
500: '#1c338c',
950: '#000000',
},
}SCSS
$custom: #1c338c; $custom-light: #6c6aae; $custom-dark: #000000;
JSON
{
"hex": "#1c338c",
"rgb": {
"r": 28,
"g": 51,
"b": 140
},
"hsl": {
"h": 227.679,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.36564,
"c": 0.15012,
"h": 267.1
},
"luminance": 0.04508
}Semantic roles & 50–950 ramp
primary
#1C338C
secondary
#BCA448
accent
#C63EEA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F