#2C418D#2C418D
#2C418D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.129 H 268.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2C418D |
|---|---|
| RGB | rgb(44, 65, 141) |
| HSL | hsl(227, 52%, 36%) |
| HSV | hsv(227, 69%, 55%) |
| CMYK | cmyk(68.8%, 53.9%, 0%, 44.7%) |
| CIE-LAB | lab(30.01, 18.37, -44.74) |
| CIE-LCH | lch(30.01, 48.37, 292.33°) |
| OKLab | oklab(40.34% -0.0035 -0.1285) |
| OKLCH | oklch(40.34% 0.129 268.4) |
| XYZ | xyz(7.7351, 6.2384, 25.9906) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.79
Blueberry
#464196
ΔE00 5.00
Darkish Blue
#014182
ΔE00 5.17
Cobalt
#0047AB
ΔE00 5.20
Sapphire (survey)
#2138AB
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C418D #8D782C
analogous
#2C728D #2C418D #482C8D
triadic
#2C418D #8D2C41 #418D2C
tetradic
#2C418D #8D2C72 #8D782C #2C8D48
square
#2C418D #8D2C72 #8D782C #2C8D48
split-complementary
#2C418D #8D482C #728D2C
monochromatic
#0F1630 #1D2B5E #2C418D #3B57BC #657CCF
Accessibility & contrast
On white
9.34
#2C418D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2C418D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C418D
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C418D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C418D | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4B90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c418d; /* rgb */ color: rgb(44, 65, 141); /* oklch */ color: oklch(40.3% 0.129 268.4);
Tailwind
colors: {
custom: {
50: '#7175af',
500: '#2c418d',
950: '#000000',
},
}SCSS
$custom: #2c418d; $custom-light: #7175af; $custom-dark: #000000;
JSON
{
"hex": "#2c418d",
"rgb": {
"r": 44,
"g": 65,
"b": 141
},
"hsl": {
"h": 227.01,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.40341,
"c": 0.12858,
"h": 268.4
},
"luminance": 0.06239
}Semantic roles & 50–950 ramp
primary
#2C418D
secondary
#B5A360
accent
#BD4CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F