#2C417E#2C417E
#2C417E is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.106 H 267.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2C417E |
|---|---|
| RGB | rgb(44, 65, 126) |
| HSL | hsl(225, 48%, 33%) |
| HSV | hsv(225, 65%, 49%) |
| CMYK | cmyk(65.1%, 48.4%, 0%, 50.6%) |
| CIE-LAB | lab(28.96, 12.69, -37.13) |
| CIE-LCH | lch(28.96, 39.24, 288.88°) |
| OKLab | oklab(39.21% -0.0053 -0.1061) |
| OKLCH | oklch(39.21% 0.106 267.1) |
| XYZ | xyz(6.6936, 5.8218, 20.5056) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.12
Darkish Blue
#014182
ΔE00 4.61
Twilight Blue
#0A437A
ΔE00 5.15
Marine Blue
#01386A
ΔE00 5.89
Blueberry
#464196
ΔE00 6.54
Prussian Blue
#004577
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C417E #7E692C
analogous
#2C6A7E #2C417E #402C7E
triadic
#2C417E #7E2C41 #417E2C
tetradic
#2C417E #7E2C6A #7E692C #2C7E40
square
#2C417E #7E2C6A #7E692C #2C7E40
split-complementary
#2C417E #7E402C #6A7E2C
monochromatic
#0C1223 #1C2A51 #2C417E #3C58AB #5E79C7
Accessibility & contrast
On white
9.70
#2C417E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2C417E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C417E
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C417E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C417E | 1.00 | 9.70 | 2.16 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#14417D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c417e; /* rgb */ color: rgb(44, 65, 126); /* oklch */ color: oklch(39.2% 0.106 267.1);
Tailwind
colors: {
custom: {
50: '#6e75a4',
500: '#2c417e',
950: '#000000',
},
}SCSS
$custom: #2c417e; $custom-light: #6e75a4; $custom-dark: #000000;
JSON
{
"hex": "#2c417e",
"rgb": {
"r": 44,
"g": 65,
"b": 126
},
"hsl": {
"h": 224.634,
"s": 48.235,
"l": 33.333
},
"oklch": {
"l": 0.39209,
"c": 0.10625,
"h": 267.1
},
"luminance": 0.05822
}Semantic roles & 50–950 ramp
primary
#2C417E
secondary
#AD9759
accent
#B550D8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F