#2C398A#2C398A
#2C398A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.135 H 271.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2C398A |
|---|---|
| RGB | rgb(44, 57, 138) |
| HSL | hsl(232, 52%, 36%) |
| HSV | hsv(232, 68%, 54%) |
| CMYK | cmyk(68.1%, 58.7%, 0%, 45.9%) |
| CIE-LAB | lab(27.56, 22.69, -46.85) |
| CIE-LCH | lch(27.56, 52.05, 295.84°) |
| OKLab | oklab(38.43% 0.0038 -0.1348) |
| OKLCH | oklch(38.43% 0.135 271.6) |
| XYZ | xyz(7.0877, 5.2961, 24.6886) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.63
Darkslateblue
#483D8B
ΔE00 5.00
Sapphire (survey)
#2138AB
ΔE00 5.01
Cobalt (survey)
#1E488F
ΔE00 6.36
Darkish Blue
#014182
ΔE00 6.88
Cobalt
#0047AB
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C398A #8A7D2C
analogous
#2C688A #2C398A #4E2C8A
triadic
#2C398A #8A2C39 #398A2C
tetradic
#2C398A #8A2C68 #8A7D2C #2C8A4E
square
#2C398A #8A2C68 #8A7D2C #2C8A4E
split-complementary
#2C398A #8A4E2C #688A2C
monochromatic
#0E132D #1D265C #2C398A #3B4CB8 #6372CD
Accessibility & contrast
On white
10.20
#2C398A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2C398A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C398A
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C398A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C398A | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c398a; /* rgb */ color: rgb(44, 57, 138); /* oklch */ color: oklch(38.4% 0.135 271.6);
Tailwind
colors: {
custom: {
50: '#716fad',
500: '#2c398a',
950: '#000000',
},
}SCSS
$custom: #2c398a; $custom-light: #716fad; $custom-dark: #000000;
JSON
{
"hex": "#2c398a",
"rgb": {
"r": 44,
"g": 57,
"b": 138
},
"hsl": {
"h": 231.702,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.38433,
"c": 0.13489,
"h": 271.6
},
"luminance": 0.05297
}Semantic roles & 50–950 ramp
primary
#2C398A
secondary
#B4A85E
accent
#C74DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F