#2C3D99#2C3D99
#2C3D99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.151 H 270.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3D99 |
|---|---|
| RGB | rgb(44, 61, 153) |
| HSL | hsl(231, 55%, 39%) |
| HSV | hsv(231, 71%, 60%) |
| CMYK | cmyk(71.2%, 60.1%, 0%, 40%) |
| CIE-LAB | lab(29.84, 25.61, -52.36) |
| CIE-LCH | lch(29.84, 58.28, 296.06°) |
| OKLab | oklab(40.51% 0.0006 -0.151) |
| OKLCH | oklch(40.51% 0.151 270.2) |
| XYZ | xyz(8.4553, 6.1720, 30.8765) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.18
Blueberry
#464196
ΔE00 4.15
Cobalt
#0047AB
ΔE00 5.24
Darkslateblue
#483D8B
ΔE00 5.57
Cobalt (survey)
#1E488F
ΔE00 5.68
Blue Blue
#2242C7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3D99 #99882C
analogous
#2C7399 #2C3D99 #512C99
triadic
#2C3D99 #992C3D #3D992C
tetradic
#2C3D99 #992C73 #99882C #2C9951
square
#2C3D99 #992C73 #99882C #2C9951
split-complementary
#2C3D99 #99512C #73992C
monochromatic
#11173A #1E2A69 #2C3D99 #3B51C7 #6B7BD4
Accessibility & contrast
On white
9.40
#2C3D99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2C3D99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3D99
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3D99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3D99 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2c3d99; /* rgb */ color: rgb(44, 61, 153); /* oklch */ color: oklch(40.5% 0.151 270.2);
Tailwind
colors: {
custom: {
50: '#7472b8',
500: '#2c3d99',
950: '#000000',
},
}SCSS
$custom: #2c3d99; $custom-light: #7472b8; $custom-dark: #000000;
JSON
{
"hex": "#2c3d99",
"rgb": {
"r": 44,
"g": 61,
"b": 153
},
"hsl": {
"h": 230.642,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.40511,
"c": 0.15098,
"h": 270.2
},
"luminance": 0.06173
}Semantic roles & 50–950 ramp
primary
#2C3D99
secondary
#BBAE66
accent
#C749DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80