#2C367F#2C367F
#2C367F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.123 H 273.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2C367F |
|---|---|
| RGB | rgb(44, 54, 127) |
| HSL | hsl(233, 49%, 34%) |
| HSV | hsv(233, 65%, 50%) |
| CMYK | cmyk(65.4%, 57.5%, 0%, 50.2%) |
| CIE-LAB | lab(25.88, 20.62, -42.72) |
| CIE-LCH | lch(25.88, 47.43, 295.77°) |
| OKLab | oklab(36.9% 0.0063 -0.1227) |
| OKLCH | oklch(36.9% 0.123 273) |
| XYZ | xyz(6.1874, 4.7056, 20.6568) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.23
Blueberry
#464196
ΔE00 5.64
Sapphire (survey)
#2138AB
ΔE00 6.71
Marine
#042E60
ΔE00 7.04
Cobalt (survey)
#1E488F
ΔE00 7.38
Darkish Blue
#014182
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C367F #7F752C
analogous
#2C5F7F #2C367F #4B2C7F
triadic
#2C367F #7F2C36 #367F2C
tetradic
#2C367F #7F2C5F #7F752C #2C7F4B
square
#2C367F #7F2C5F #7F752C #2C7F4B
split-complementary
#2C367F #7F4B2C #5F7F2C
monochromatic
#0D0F24 #1C2352 #2C367F #3C49AC #5E6BC7
Accessibility & contrast
On white
10.82
#2C367F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2C367F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C367F
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C367F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C367F | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c367f; /* rgb */ color: rgb(44, 54, 127); /* oklch */ color: oklch(36.9% 0.123 273.0);
Tailwind
colors: {
custom: {
50: '#6f6ca5',
500: '#2c367f',
950: '#000000',
},
}SCSS
$custom: #2c367f; $custom-light: #6f6ca5; $custom-dark: #000000;
JSON
{
"hex": "#2c367f",
"rgb": {
"r": 44,
"g": 54,
"b": 127
},
"hsl": {
"h": 232.771,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.36903,
"c": 0.12287,
"h": 273
},
"luminance": 0.04706
}Semantic roles & 50–950 ramp
primary
#2C367F
secondary
#ADA359
accent
#C850D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F