#2C3B99#2C3B99
#2C3B99 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.154 H 270.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3B99 |
|---|---|
| RGB | rgb(44, 59, 153) |
| HSL | hsl(232, 55%, 39%) |
| HSV | hsv(232, 71%, 60%) |
| CMYK | cmyk(71.2%, 61.4%, 0%, 40%) |
| CIE-LAB | lab(29.32, 26.94, -53.21) |
| CIE-LCH | lch(29.32, 59.65, 296.85°) |
| OKLab | oklab(40.12% 0.0022 -0.1535) |
| OKLCH | oklch(40.12% 0.154 270.8) |
| XYZ | xyz(8.3505, 5.9625, 30.8416) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.87
Blueberry
#464196
ΔE00 4.17
Darkslateblue
#483D8B
ΔE00 5.44
Cobalt
#0047AB
ΔE00 5.76
Cobalt (survey)
#1E488F
ΔE00 6.30
Blue Blue
#2242C7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3B99 #998A2C
analogous
#2C7199 #2C3B99 #532C99
triadic
#2C3B99 #992C3B #3B992C
tetradic
#2C3B99 #992C71 #998A2C #2C9953
square
#2C3B99 #992C71 #998A2C #2C9953
split-complementary
#2C3B99 #99532C #71992C
monochromatic
#11163A #1E2969 #2C3B99 #3B4FC7 #6B79D4
Accessibility & contrast
On white
9.58
#2C3B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2C3B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3B99
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3B99 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c3b99; /* rgb */ color: rgb(44, 59, 153); /* oklch */ color: oklch(40.1% 0.154 270.8);
Tailwind
colors: {
custom: {
50: '#7470b8',
500: '#2c3b99',
950: '#000000',
},
}SCSS
$custom: #2c3b99; $custom-light: #7470b8; $custom-dark: #000000;
JSON
{
"hex": "#2c3b99",
"rgb": {
"r": 44,
"g": 59,
"b": 153
},
"hsl": {
"h": 231.743,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.40122,
"c": 0.15353,
"h": 270.8
},
"luminance": 0.05963
}Semantic roles & 50–950 ramp
primary
#2C3B99
secondary
#BBAF66
accent
#CA49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80