#2C3A94#2C3A94
#2C3A94 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.148 H 271.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3A94 |
|---|---|
| RGB | rgb(44, 58, 148) |
| HSL | hsl(232, 54%, 38%) |
| HSV | hsv(232, 70%, 58%) |
| CMYK | cmyk(70.3%, 60.8%, 0%, 42%) |
| CIE-LAB | lab(28.64, 25.75, -51.26) |
| CIE-LCH | lch(28.64, 57.37, 296.67°) |
| OKLab | oklab(39.49% 0.0031 -0.1478) |
| OKLCH | oklch(39.49% 0.148 271.2) |
| XYZ | xyz(7.8952, 5.6989, 28.6952) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.51
Blueberry
#464196
ΔE00 4.21
Darkslateblue
#483D8B
ΔE00 5.18
Cobalt
#0047AB
ΔE00 6.22
Cobalt (survey)
#1E488F
ΔE00 6.34
Ocean Blue
#4F42B5
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3A94 #94862C
analogous
#2C6E94 #2C3A94 #522C94
triadic
#2C3A94 #942C3A #3A942C
tetradic
#2C3A94 #942C6E #94862C #2C9452
square
#2C3A94 #942C6E #94862C #2C9452
split-complementary
#2C3A94 #94522C #6E942C
monochromatic
#101536 #1E2865 #2C3A94 #3A4CC3 #6876D2
Accessibility & contrast
On white
9.81
#2C3A94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2C3A94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3A94
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3A94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3A94 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c3a94; /* rgb */ color: rgb(44, 58, 148); /* oklch */ color: oklch(39.5% 0.148 271.2);
Tailwind
colors: {
custom: {
50: '#7370b4',
500: '#2c3a94',
950: '#000000',
},
}SCSS
$custom: #2c3a94; $custom-light: #7370b4; $custom-dark: #000000;
JSON
{
"hex": "#2c3a94",
"rgb": {
"r": 44,
"g": 58,
"b": 148
},
"hsl": {
"h": 231.923,
"s": 54.167,
"l": 37.647
},
"oklch": {
"l": 0.39489,
"c": 0.14782,
"h": 271.2
},
"luminance": 0.057
}Semantic roles & 50–950 ramp
primary
#2C3A94
secondary
#B9AD63
accent
#CA4ADE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80