#2C368E#2C368E
#2C368E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.145 H 272.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2C368E |
|---|---|
| RGB | rgb(44, 54, 142) |
| HSL | hsl(234, 53%, 36%) |
| HSV | hsv(234, 69%, 56%) |
| CMYK | cmyk(69%, 62%, 0%, 44.3%) |
| CIE-LAB | lab(27.09, 26.20, -50.09) |
| CIE-LCH | lch(27.09, 56.53, 297.61°) |
| OKLab | oklab(38.19% 0.0065 -0.1444) |
| OKLCH | oklch(38.19% 0.145 272.6) |
| XYZ | xyz(7.2387, 5.1261, 26.1939) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.27
Blueberry
#464196
ΔE00 4.67
Darkslateblue
#483D8B
ΔE00 4.99
Cobalt (survey)
#1E488F
ΔE00 7.41
Cobalt
#0047AB
ΔE00 7.56
Darkish Blue
#014182
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C368E #8E842C
analogous
#2C678E #2C368E #532C8E
triadic
#2C368E #8E2C36 #368E2C
tetradic
#2C368E #8E2C67 #8E842C #2C8E53
square
#2C368E #8E2C67 #8E842C #2C8E53
split-complementary
#2C368E #8E532C #678E2C
monochromatic
#0F1231 #1E245F #2C368E #3A48BD #6570CF
Accessibility & contrast
On white
10.37
#2C368E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2C368E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C368E
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C368E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C368E | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c368e; /* rgb */ color: rgb(44, 54, 142); /* oklch */ color: oklch(38.2% 0.145 272.6);
Tailwind
colors: {
custom: {
50: '#726db0',
500: '#2c368e',
950: '#000000',
},
}SCSS
$custom: #2c368e; $custom-light: #726db0; $custom-dark: #000000;
JSON
{
"hex": "#2c368e",
"rgb": {
"r": 44,
"g": 54,
"b": 142
},
"hsl": {
"h": 233.878,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.38186,
"c": 0.14454,
"h": 272.6
},
"luminance": 0.05127
}Semantic roles & 50–950 ramp
primary
#2C368E
secondary
#B6AD60
accent
#CD4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F