#2C4394#2C4394
#2C4394 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.136 H 268.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4394 |
|---|---|
| RGB | rgb(44, 67, 148) |
| HSL | hsl(227, 54%, 38%) |
| HSV | hsv(227, 70%, 58%) |
| CMYK | cmyk(70.3%, 54.7%, 0%, 42%) |
| CIE-LAB | lab(31.08, 19.67, -47.29) |
| CIE-LCH | lch(31.08, 51.22, 292.59°) |
| OKLab | oklab(41.32% -0.0047 -0.136) |
| OKLCH | oklch(41.32% 0.136 268) |
| XYZ | xyz(8.3893, 6.6871, 28.8598) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.50
Cobalt
#0047AB
ΔE00 4.23
Blueberry
#464196
ΔE00 4.94
Sapphire (survey)
#2138AB
ΔE00 5.22
Darkish Blue
#014182
ΔE00 5.41
Twilight Blue
#0A437A
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4394 #947D2C
analogous
#2C7794 #2C4394 #492C94
triadic
#2C4394 #942C43 #43942C
tetradic
#2C4394 #942C77 #947D2C #2C9449
square
#2C4394 #942C77 #947D2C #2C9449
split-complementary
#2C4394 #94492C #77942C
monochromatic
#101836 #1E2E65 #2C4394 #3A58C3 #6880D2
Accessibility & contrast
On white
8.98
#2C4394 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2C4394 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4394
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4394 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4394 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#074E97
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c4394; /* rgb */ color: rgb(44, 67, 148); /* oklch */ color: oklch(41.3% 0.136 268.0);
Tailwind
colors: {
custom: {
50: '#7276b4',
500: '#2c4394',
950: '#000000',
},
}SCSS
$custom: #2c4394; $custom-light: #7276b4; $custom-dark: #000000;
JSON
{
"hex": "#2c4394",
"rgb": {
"r": 44,
"g": 67,
"b": 148
},
"hsl": {
"h": 226.731,
"s": 54.167,
"l": 37.647
},
"oklch": {
"l": 0.41318,
"c": 0.13608,
"h": 268
},
"luminance": 0.06688
}Semantic roles & 50–950 ramp
primary
#2C4394
secondary
#B9A663
accent
#BD4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80