#2C3A99#2C3A99
#2C3A99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.155 H 271.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3A99 |
|---|---|
| RGB | rgb(44, 58, 153) |
| HSL | hsl(232, 55%, 39%) |
| HSV | hsv(232, 71%, 60%) |
| CMYK | cmyk(71.2%, 62.1%, 0%, 40%) |
| CIE-LAB | lab(29.06, 27.61, -53.64) |
| CIE-LCH | lch(29.06, 60.33, 297.24°) |
| OKLab | oklab(39.93% 0.003 -0.1548) |
| OKLCH | oklch(39.93% 0.155 271.1) |
| XYZ | xyz(8.2996, 5.8607, 30.8246) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.76
Blueberry
#464196
ΔE00 4.22
Darkslateblue
#483D8B
ΔE00 5.41
Cobalt
#0047AB
ΔE00 6.02
Blue Blue
#2242C7
ΔE00 6.52
Cobalt (survey)
#1E488F
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3A99 #998B2C
analogous
#2C7099 #2C3A99 #542C99
triadic
#2C3A99 #992C3A #3A992C
tetradic
#2C3A99 #992C70 #998B2C #2C9954
square
#2C3A99 #992C70 #998B2C #2C9954
split-complementary
#2C3A99 #99542C #70992C
monochromatic
#11163A #1E2869 #2C3A99 #3B4DC7 #6B79D4
Accessibility & contrast
On white
9.67
#2C3A99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2C3A99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3A99
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3A99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3A99 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c3a99; /* rgb */ color: rgb(44, 58, 153); /* oklch */ color: oklch(39.9% 0.155 271.1);
Tailwind
colors: {
custom: {
50: '#7470b8',
500: '#2c3a99',
950: '#000000',
},
}SCSS
$custom: #2c3a99; $custom-light: #7470b8; $custom-dark: #000000;
JSON
{
"hex": "#2c3a99",
"rgb": {
"r": 44,
"g": 58,
"b": 153
},
"hsl": {
"h": 232.294,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.3993,
"c": 0.1548,
"h": 271.1
},
"luminance": 0.05861
}Semantic roles & 50–950 ramp
primary
#2C3A99
secondary
#BBB066
accent
#CB49DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80