#2C418F#2C418F
#2C418F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.131 H 268.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2C418F |
|---|---|
| RGB | rgb(44, 65, 143) |
| HSL | hsl(227, 53%, 37%) |
| HSV | hsv(227, 69%, 56%) |
| CMYK | cmyk(69.2%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(30.15, 19.13, -45.74) |
| CIE-LCH | lch(30.15, 49.58, 292.70°) |
| OKLab | oklab(40.5% -0.0033 -0.1314) |
| OKLCH | oklch(40.5% 0.131 268.6) |
| XYZ | xyz(7.8852, 6.2985, 26.7815) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.86
Blueberry
#464196
ΔE00 4.86
Cobalt
#0047AB
ΔE00 5.01
Darkish Blue
#014182
ΔE00 5.32
Sapphire (survey)
#2138AB
ΔE00 5.42
Darkslateblue
#483D8B
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C418F #8F7A2C
analogous
#2C738F #2C418F #492C8F
triadic
#2C418F #8F2C41 #418F2C
tetradic
#2C418F #8F2C73 #8F7A2C #2C8F49
square
#2C418F #8F2C73 #8F7A2C #2C8F49
split-complementary
#2C418F #8F492C #738F2C
monochromatic
#0F1631 #1E2C60 #2C418F #3A56BE #667CD0
Accessibility & contrast
On white
9.29
#2C418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2C418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C418F
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C418F | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B4C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c418f; /* rgb */ color: rgb(44, 65, 143); /* oklch */ color: oklch(40.5% 0.131 268.6);
Tailwind
colors: {
custom: {
50: '#7275b0',
500: '#2c418f',
950: '#000000',
},
}SCSS
$custom: #2c418f; $custom-light: #7275b0; $custom-dark: #000000;
JSON
{
"hex": "#2c418f",
"rgb": {
"r": 44,
"g": 65,
"b": 143
},
"hsl": {
"h": 227.273,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.40499,
"c": 0.13149,
"h": 268.6
},
"luminance": 0.06299
}Semantic roles & 50–950 ramp
primary
#2C418F
secondary
#B6A461
accent
#BE4BDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80