#1C228F#1C228F
#1C228F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.174 H 270.3°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1C228F |
|---|---|
| RGB | rgb(28, 34, 143) |
| HSL | hsl(237, 67%, 34%) |
| HSV | hsv(237, 80%, 56%) |
| CMYK | cmyk(80.4%, 76.2%, 0%, 43.9%) |
| CIE-LAB | lab(21.48, 37.61, -59.96) |
| CIE-LCH | lch(21.48, 70.78, 302.10°) |
| OKLab | oklab(33.89% 0.0009 -0.1736) |
| OKLCH | oklch(33.89% 0.174 270.3) |
| XYZ | xyz(6.0072, 3.3734, 26.3158) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.60
Midnight Blue
#191970
ΔE00 4.99
Cobalt Blue
#030AA7
ΔE00 5.18
Royal Blue (survey)
#0504AA
ΔE00 5.79
Darkblue
#00008B
ΔE00 6.11
Indigo Blue
#3A18B1
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C228F #8F891C
analogous
#1C5B8F #1C228F #4F1C8F
triadic
#1C228F #8F1C22 #228F1C
tetradic
#1C228F #8F1C5B #8F891C #1C8F4F
square
#1C228F #8F1C5B #8F891C #1C8F4F
split-complementary
#1C228F #8F4F1C #5B8F1C
monochromatic
#080A29 #12165C #1C228F #262EC2 #4A51DC
Accessibility & contrast
On white
12.54
#1C228F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1C228F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C228F
12.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C228F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C228F | 1.00 | 12.54 | 1.67 | 12.54 |
| #FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1c228f; /* rgb */ color: rgb(28, 34, 143); /* oklch */ color: oklch(33.9% 0.174 270.3);
Tailwind
colors: {
custom: {
50: '#6e5eb1',
500: '#1c228f',
950: '#000000',
},
}SCSS
$custom: #1c228f; $custom-light: #6e5eb1; $custom-dark: #000000;
JSON
{
"hex": "#1c228f",
"rgb": {
"r": 28,
"g": 34,
"b": 143
},
"hsl": {
"h": 236.87,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.33894,
"c": 0.17365,
"h": 270.3
},
"luminance": 0.03374
}Semantic roles & 50–950 ramp
primary
#1C228F
secondary
#BEB849
accent
#E13EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980