#2C398F#2C398F
#2C398F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.142 H 271.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C398F |
|---|---|
| RGB | rgb(44, 57, 143) |
| HSL | hsl(232, 53%, 37%) |
| HSV | hsv(232, 69%, 56%) |
| CMYK | cmyk(69.2%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(27.96, 24.56, -49.29) |
| CIE-LCH | lch(27.96, 55.07, 296.48°) |
| OKLab | oklab(38.86% 0.0039 -0.142) |
| OKLCH | oklch(38.86% 0.142 271.6) |
| XYZ | xyz(7.4581, 5.4442, 26.6391) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.21
Blueberry
#464196
ΔE00 4.38
Darkslateblue
#483D8B
ΔE00 5.02
Cobalt (survey)
#1E488F
ΔE00 6.47
Cobalt
#0047AB
ΔE00 6.74
Darkish Blue
#014182
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C398F #8F822C
analogous
#2C6B8F #2C398F #512C8F
triadic
#2C398F #8F2C39 #398F2C
tetradic
#2C398F #8F2C6B #8F822C #2C8F51
square
#2C398F #8F2C6B #8F822C #2C8F51
split-complementary
#2C398F #8F512C #6B8F2C
monochromatic
#0F1431 #1E2660 #2C398F #3A4CBE #6674D0
Accessibility & contrast
On white
10.05
#2C398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2C398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C398F
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C398F | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2c398f; /* rgb */ color: rgb(44, 57, 143); /* oklch */ color: oklch(38.9% 0.142 271.6);
Tailwind
colors: {
custom: {
50: '#726fb0',
500: '#2c398f',
950: '#000000',
},
}SCSS
$custom: #2c398f; $custom-light: #726fb0; $custom-dark: #000000;
JSON
{
"hex": "#2c398f",
"rgb": {
"r": 44,
"g": 57,
"b": 143
},
"hsl": {
"h": 232.121,
"s": 52.941,
"l": 36.667
},
"oklch": {
"l": 0.38859,
"c": 0.14205,
"h": 271.6
},
"luminance": 0.05445
}Semantic roles & 50–950 ramp
primary
#2C398F
secondary
#B6AB61
accent
#C94BDC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80