#2C3898#2C3898
#2C3898 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.156 H 271.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3898 |
|---|---|
| RGB | rgb(44, 56, 152) |
| HSL | hsl(233, 55%, 38%) |
| HSV | hsv(233, 71%, 60%) |
| CMYK | cmyk(71.1%, 63.2%, 0%, 40.4%) |
| CIE-LAB | lab(28.46, 28.57, -54.00) |
| CIE-LCH | lch(28.46, 61.09, 297.88°) |
| OKLab | oklab(39.46% 0.0046 -0.1559) |
| OKLCH | oklch(39.46% 0.156 271.7) |
| XYZ | xyz(8.1185, 5.6300, 30.3585) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.79
Blueberry
#464196
ΔE00 4.37
Darkslateblue
#483D8B
ΔE00 5.35
Cobalt
#0047AB
ΔE00 6.59
Ocean Blue
#4F42B5
ΔE00 6.78
Blue Blue
#2242C7
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3898 #988C2C
analogous
#2C6E98 #2C3898 #562C98
triadic
#2C3898 #982C38 #38982C
tetradic
#2C3898 #982C6E #988C2C #2C9856
square
#2C3898 #982C6E #988C2C #2C9856
split-complementary
#2C3898 #98562C #6E982C
monochromatic
#111539 #1E2769 #2C3898 #3B4AC6 #6A76D4
Accessibility & contrast
On white
9.88
#2C3898 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2C3898 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3898
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3898 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3898 | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c3898; /* rgb */ color: rgb(44, 56, 152); /* oklch */ color: oklch(39.5% 0.156 271.7);
Tailwind
colors: {
custom: {
50: '#746eb7',
500: '#2c3898',
950: '#000000',
},
}SCSS
$custom: #2c3898; $custom-light: #746eb7; $custom-dark: #000000;
JSON
{
"hex": "#2c3898",
"rgb": {
"r": 44,
"g": 56,
"b": 152
},
"hsl": {
"h": 233.333,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.39461,
"c": 0.15593,
"h": 271.7
},
"luminance": 0.05631
}Semantic roles & 50–950 ramp
primary
#2C3898
secondary
#BBB165
accent
#CE49DE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80