#2C3397#2C3397
#2C3397 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.161 H 273.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3397 |
|---|---|
| RGB | rgb(44, 51, 151) |
| HSL | hsl(236, 55%, 38%) |
| HSV | hsv(236, 71%, 59%) |
| CMYK | cmyk(70.9%, 66.2%, 0%, 40.8%) |
| CIE-LAB | lab(27.12, 31.48, -55.58) |
| CIE-LCH | lch(27.12, 63.88, 299.52°) |
| OKLab | oklab(38.45% 0.0084 -0.1605) |
| OKLCH | oklch(38.45% 0.161 273) |
| XYZ | xyz(7.8066, 5.1367, 29.8522) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Blueberry
#464196
ΔE00 5.10
Darkslateblue
#483D8B
ΔE00 5.61
Royal
#0C1793
ΔE00 7.02
Ocean Blue
#4F42B5
ΔE00 7.20
Indigo Blue
#3A18B1
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3397 #97902C
analogous
#2C6897 #2C3397 #5A2C97
triadic
#2C3397 #972C33 #33972C
tetradic
#2C3397 #972C68 #97902C #2C975A
square
#2C3397 #972C68 #97902C #2C975A
split-complementary
#2C3397 #975A2C #68972C
monochromatic
#101338 #1E2368 #2C3397 #3A44C6 #6A71D4
Accessibility & contrast
On white
10.36
#2C3397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2C3397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3397
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3397 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c3397; /* rgb */ color: rgb(44, 51, 151); /* oklch */ color: oklch(38.5% 0.161 273.0);
Tailwind
colors: {
custom: {
50: '#746bb7',
500: '#2c3397',
950: '#000000',
},
}SCSS
$custom: #2c3397; $custom-light: #746bb7; $custom-dark: #000000;
JSON
{
"hex": "#2c3397",
"rgb": {
"r": 44,
"g": 51,
"b": 151
},
"hsl": {
"h": 236.075,
"s": 54.872,
"l": 38.235
},
"oklch": {
"l": 0.38451,
"c": 0.16074,
"h": 273
},
"luminance": 0.05137
}Semantic roles & 50–950 ramp
primary
#2C3397
secondary
#BAB565
accent
#D44ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80