#2C3094#2C3094
#2C3094 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.160 H 273.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3094 |
|---|---|
| RGB | rgb(44, 48, 148) |
| HSL | hsl(238, 54%, 38%) |
| HSV | hsv(238, 70%, 58%) |
| CMYK | cmyk(70.3%, 67.6%, 0%, 42%) |
| CIE-LAB | lab(26.12, 32.33, -55.38) |
| CIE-LCH | lch(26.12, 64.13, 300.28°) |
| OKLab | oklab(37.64% 0.0108 -0.1599) |
| OKLCH | oklch(37.64% 0.16 273.9) |
| XYZ | xyz(7.4392, 4.7868, 28.5431) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.98
Blueberry
#464196
ΔE00 5.64
Darkslateblue
#483D8B
ΔE00 5.81
Royal
#0C1793
ΔE00 6.23
Indigo Blue
#3A18B1
ΔE00 7.07
Midnight Blue
#191970
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3094 #94902C
analogous
#2C6494 #2C3094 #5C2C94
triadic
#2C3094 #942C30 #30942C
tetradic
#2C3094 #942C64 #94902C #2C945C
square
#2C3094 #942C64 #94902C #2C945C
split-complementary
#2C3094 #945C2C #64942C
monochromatic
#101136 #1E2165 #2C3094 #3A3FC3 #686CD2
Accessibility & contrast
On white
10.73
#2C3094 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2C3094 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3094
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3094 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3094 | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c3094; /* rgb */ color: rgb(44, 48, 148); /* oklch */ color: oklch(37.6% 0.160 273.9);
Tailwind
colors: {
custom: {
50: '#7468b4',
500: '#2c3094',
950: '#000000',
},
}SCSS
$custom: #2c3094; $custom-light: #7468b4; $custom-dark: #000000;
JSON
{
"hex": "#2c3094",
"rgb": {
"r": 44,
"g": 48,
"b": 148
},
"hsl": {
"h": 237.692,
"s": 54.167,
"l": 37.647
},
"oklch": {
"l": 0.37636,
"c": 0.16032,
"h": 273.9
},
"luminance": 0.04787
}Semantic roles & 50–950 ramp
primary
#2C3094
secondary
#B9B563
accent
#D84ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80