#2C3F9E#2C3F9E
#2C3F9E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.155 H 269.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3F9E |
|---|---|
| RGB | rgb(44, 63, 158) |
| HSL | hsl(230, 56%, 40%) |
| HSV | hsv(230, 72%, 62%) |
| CMYK | cmyk(72.2%, 60.1%, 0%, 38%) |
| CIE-LAB | lab(30.78, 26.14, -53.87) |
| CIE-LCH | lch(30.78, 59.88, 295.89°) |
| OKLab | oklab(41.34% -0.001 -0.1554) |
| OKLCH | oklch(41.34% 0.155 269.6) |
| XYZ | xyz(8.9857, 6.5582, 33.1334) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.98
Blueberry
#464196
ΔE00 4.29
Cobalt
#0047AB
ΔE00 4.58
Cobalt (survey)
#1E488F
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.57
Darkslateblue
#483D8B
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3F9E #9E8B2C
analogous
#2C789E #2C3F9E #522C9E
triadic
#2C3F9E #9E2C3F #3F9E2C
tetradic
#2C3F9E #9E2C78 #9E8B2C #2C9E52
square
#2C3F9E #9E2C78 #9E8B2C #2C9E52
split-complementary
#2C3F9E #9E522C #789E2C
monochromatic
#11193E #1F2C6E #2C3F9E #3E55C9 #6E7FD7
Accessibility & contrast
On white
9.08
#2C3F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2C3F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3F9E
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3F9E | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c3f9e; /* rgb */ color: rgb(44, 63, 158); /* oklch */ color: oklch(41.3% 0.155 269.6);
Tailwind
colors: {
custom: {
50: '#7573bb',
500: '#2c3f9e',
950: '#000000',
},
}SCSS
$custom: #2c3f9e; $custom-light: #7573bb; $custom-dark: #000000;
JSON
{
"hex": "#2c3f9e",
"rgb": {
"r": 44,
"g": 63,
"b": 158
},
"hsl": {
"h": 230,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.41336,
"c": 0.15539,
"h": 269.6
},
"luminance": 0.06559
}Semantic roles & 50–950 ramp
primary
#2C3F9E
secondary
#BEAF68
accent
#C648E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81