#2C3F99#2C3F99
#2C3F99 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.148 H 269.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3F99 |
|---|---|
| RGB | rgb(44, 63, 153) |
| HSL | hsl(230, 55%, 39%) |
| HSV | hsv(230, 71%, 60%) |
| CMYK | cmyk(71.2%, 58.8%, 0%, 40%) |
| CIE-LAB | lab(30.37, 24.26, -51.49) |
| CIE-LCH | lch(30.37, 56.92, 295.23°) |
| OKLab | oklab(40.91% -0.001 -0.1484) |
| OKLCH | oklch(40.91% 0.148 269.6) |
| XYZ | xyz(8.5640, 6.3895, 30.9128) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Blueberry
#464196
ΔE00 4.25
Cobalt
#0047AB
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 5.07
Darkslateblue
#483D8B
ΔE00 5.79
Blue Blue
#2242C7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3F99 #99862C
analogous
#2C7599 #2C3F99 #4F2C99
triadic
#2C3F99 #992C3F #3F992C
tetradic
#2C3F99 #992C75 #99862C #2C994F
square
#2C3F99 #992C75 #99862C #2C994F
split-complementary
#2C3F99 #994F2C #75992C
monochromatic
#11183A #1E2B69 #2C3F99 #3B54C7 #6B7DD4
Accessibility & contrast
On white
9.22
#2C3F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2C3F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3F99
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3F99 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c3f99; /* rgb */ color: rgb(44, 63, 153); /* oklch */ color: oklch(40.9% 0.148 269.6);
Tailwind
colors: {
custom: {
50: '#7473b8',
500: '#2c3f99',
950: '#000000',
},
}SCSS
$custom: #2c3f99; $custom-light: #7473b8; $custom-dark: #000000;
JSON
{
"hex": "#2c3f99",
"rgb": {
"r": 44,
"g": 63,
"b": 153
},
"hsl": {
"h": 229.541,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.40908,
"c": 0.14841,
"h": 269.6
},
"luminance": 0.0639
}Semantic roles & 50–950 ramp
primary
#2C3F99
secondary
#BBAC66
accent
#C549DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80