#2C3C98#2C3C98
#2C3C98 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.151 H 270.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3C98 |
|---|---|
| RGB | rgb(44, 60, 152) |
| HSL | hsl(231, 55%, 38%) |
| HSV | hsv(231, 71%, 60%) |
| CMYK | cmyk(71.1%, 60.5%, 0%, 40.4%) |
| CIE-LAB | lab(29.50, 25.90, -52.31) |
| CIE-LCH | lch(29.50, 58.37, 296.34°) |
| OKLab | oklab(40.23% 0.0014 -0.1509) |
| OKLCH | oklch(40.23% 0.151 270.5) |
| XYZ | xyz(8.3201, 6.0334, 30.4258) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.16
Blueberry
#464196
ΔE00 4.14
Darkslateblue
#483D8B
ΔE00 5.45
Cobalt
#0047AB
ΔE00 5.53
Cobalt (survey)
#1E488F
ΔE00 5.93
Blue Blue
#2242C7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3C98 #98882C
analogous
#2C7298 #2C3C98 #522C98
triadic
#2C3C98 #982C3C #3C982C
tetradic
#2C3C98 #982C72 #98882C #2C9852
square
#2C3C98 #982C72 #98882C #2C9852
split-complementary
#2C3C98 #98522C #72982C
monochromatic
#111739 #1E2969 #2C3C98 #3B50C6 #6A7AD4
Accessibility & contrast
On white
9.52
#2C3C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2C3C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3C98
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3C98 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2c3c98; /* rgb */ color: rgb(44, 60, 152); /* oklch */ color: oklch(40.2% 0.151 270.5);
Tailwind
colors: {
custom: {
50: '#7471b7',
500: '#2c3c98',
950: '#000000',
},
}SCSS
$custom: #2c3c98; $custom-light: #7471b7; $custom-dark: #000000;
JSON
{
"hex": "#2c3c98",
"rgb": {
"r": 44,
"g": 60,
"b": 152
},
"hsl": {
"h": 231.111,
"s": 55.102,
"l": 38.431
},
"oklch": {
"l": 0.40228,
"c": 0.15086,
"h": 270.5
},
"luminance": 0.06034
}Semantic roles & 50–950 ramp
primary
#2C3C98
secondary
#BBAE65
accent
#C849DE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80