#2C377F#2C377F
#2C377F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.121 H 272.5°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2C377F |
|---|---|
| RGB | rgb(44, 55, 127) |
| HSL | hsl(232, 49%, 34%) |
| HSV | hsv(232, 65%, 50%) |
| CMYK | cmyk(65.4%, 56.7%, 0%, 50.2%) |
| CIE-LAB | lab(26.16, 19.94, -42.27) |
| CIE-LCH | lch(26.16, 46.73, 295.25°) |
| OKLab | oklab(37.11% 0.0053 -0.1214) |
| OKLCH | oklch(37.11% 0.122 272.5) |
| XYZ | xyz(6.2344, 4.7996, 20.6724) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.27
Blueberry
#464196
ΔE00 5.60
Sapphire (survey)
#2138AB
ΔE00 6.74
Marine
#042E60
ΔE00 6.97
Cobalt (survey)
#1E488F
ΔE00 7.06
Darkish Blue
#014182
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C377F #7F742C
analogous
#2C607F #2C377F #4A2C7F
triadic
#2C377F #7F2C37 #377F2C
tetradic
#2C377F #7F2C60 #7F742C #2C7F4A
square
#2C377F #7F2C60 #7F742C #2C7F4A
split-complementary
#2C377F #7F4A2C #607F2C
monochromatic
#0D1024 #1C2352 #2C377F #3C4BAC #5E6CC7
Accessibility & contrast
On white
10.71
#2C377F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2C377F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C377F
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C377F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C377F | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#024281
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c377f; /* rgb */ color: rgb(44, 55, 127); /* oklch */ color: oklch(37.1% 0.121 272.5);
Tailwind
colors: {
custom: {
50: '#6f6da5',
500: '#2c377f',
950: '#000000',
},
}SCSS
$custom: #2c377f; $custom-light: #6f6da5; $custom-dark: #000000;
JSON
{
"hex": "#2c377f",
"rgb": {
"r": 44,
"g": 55,
"b": 127
},
"hsl": {
"h": 232.048,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.37111,
"c": 0.1215,
"h": 272.5
},
"luminance": 0.048
}Semantic roles & 50–950 ramp
primary
#2C377F
secondary
#ADA259
accent
#C650D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F