#2C418E#2C418E
#2C418E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.130 H 268.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2C418E |
|---|---|
| RGB | rgb(44, 65, 142) |
| HSL | hsl(227, 53%, 36%) |
| HSV | hsv(227, 69%, 56%) |
| CMYK | cmyk(69%, 54.2%, 0%, 44.3%) |
| CIE-LAB | lab(30.08, 18.75, -45.24) |
| CIE-LCH | lch(30.08, 48.97, 292.52°) |
| OKLab | oklab(40.42% -0.0034 -0.13) |
| OKLCH | oklch(40.42% 0.13 268.5) |
| XYZ | xyz(7.8098, 6.2683, 26.3843) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.82
Blueberry
#464196
ΔE00 4.93
Cobalt
#0047AB
ΔE00 5.10
Darkish Blue
#014182
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C418E #8E792C
analogous
#2C728E #2C418E #482C8E
triadic
#2C418E #8E2C41 #418E2C
tetradic
#2C418E #8E2C72 #8E792C #2C8E48
square
#2C418E #8E2C72 #8E792C #2C8E48
split-complementary
#2C418E #8E482C #728E2C
monochromatic
#0F1631 #1E2C5F #2C418E #3A56BD #657CCF
Accessibility & contrast
On white
9.32
#2C418E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2C418E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C418E
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C418E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C418E | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D4B91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c418e; /* rgb */ color: rgb(44, 65, 142); /* oklch */ color: oklch(40.4% 0.130 268.5);
Tailwind
colors: {
custom: {
50: '#7175b0',
500: '#2c418e',
950: '#000000',
},
}SCSS
$custom: #2c418e; $custom-light: #7175b0; $custom-dark: #000000;
JSON
{
"hex": "#2c418e",
"rgb": {
"r": 44,
"g": 65,
"b": 142
},
"hsl": {
"h": 227.143,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.4042,
"c": 0.13003,
"h": 268.5
},
"luminance": 0.06269
}Semantic roles & 50–950 ramp
primary
#2C418E
secondary
#B6A360
accent
#BD4CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F