#2C4094#2C4094
#2C4094 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.140 H 269.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4094 |
|---|---|
| RGB | rgb(44, 64, 148) |
| HSL | hsl(228, 54%, 38%) |
| HSV | hsv(228, 70%, 58%) |
| CMYK | cmyk(70.3%, 56.8%, 0%, 42%) |
| CIE-LAB | lab(30.25, 21.70, -48.64) |
| CIE-LCH | lch(30.25, 53.26, 294.05°) |
| OKLab | oklab(40.69% -0.0021 -0.14) |
| OKLCH | oklch(40.69% 0.14 269.1) |
| XYZ | xyz(8.2156, 6.3396, 28.8019) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.42
Blueberry
#464196
ΔE00 4.45
Sapphire (survey)
#2138AB
ΔE00 4.49
Cobalt
#0047AB
ΔE00 4.79
Darkslateblue
#483D8B
ΔE00 5.82
Darkish Blue
#014182
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4094 #94802C
analogous
#2C7494 #2C4094 #4C2C94
triadic
#2C4094 #942C40 #40942C
tetradic
#2C4094 #942C74 #94802C #2C944C
square
#2C4094 #942C74 #94802C #2C944C
split-complementary
#2C4094 #944C2C #74942C
monochromatic
#101736 #1E2C65 #2C4094 #3A54C3 #687DD2
Accessibility & contrast
On white
9.26
#2C4094 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2C4094 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4094
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4094 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4094 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2c4094; /* rgb */ color: rgb(44, 64, 148); /* oklch */ color: oklch(40.7% 0.140 269.1);
Tailwind
colors: {
custom: {
50: '#7374b4',
500: '#2c4094',
950: '#000000',
},
}SCSS
$custom: #2c4094; $custom-light: #7374b4; $custom-dark: #000000;
JSON
{
"hex": "#2c4094",
"rgb": {
"r": 44,
"g": 64,
"b": 148
},
"hsl": {
"h": 228.462,
"s": 54.167,
"l": 37.647
},
"oklch": {
"l": 0.40694,
"c": 0.14002,
"h": 269.1
},
"luminance": 0.0634
}Semantic roles & 50–950 ramp
primary
#2C4094
secondary
#B9A863
accent
#C14ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80