#2C3D8B#2C3D8B
#2C3D8B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.131 H 270.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3D8B |
|---|---|
| RGB | rgb(44, 61, 139) |
| HSL | hsl(229, 52%, 36%) |
| HSV | hsv(229, 68%, 55%) |
| CMYK | cmyk(68.3%, 56.1%, 0%, 45.5%) |
| CIE-LAB | lab(28.74, 20.34, -45.56) |
| CIE-LCH | lch(28.74, 49.90, 294.06°) |
| OKLab | oklab(39.34% 0.0002 -0.131) |
| OKLCH | oklch(39.34% 0.131 270.1) |
| XYZ | xyz(7.3661, 5.7364, 25.1401) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 5.06
Sapphire (survey)
#2138AB
ΔE00 5.29
Darkslateblue
#483D8B
ΔE00 5.39
Darkish Blue
#014182
ΔE00 5.91
Cobalt
#0047AB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3D8B #8B7A2C
analogous
#2C6C8B #2C3D8B #4A2C8B
triadic
#2C3D8B #8B2C3D #3D8B2C
tetradic
#2C3D8B #8B2C6C #8B7A2C #2C8B4A
square
#2C3D8B #8B2C6C #8B7A2C #2C8B4A
split-complementary
#2C3D8B #8B4A2C #6C8B2C
monochromatic
#0F142E #1D295D #2C3D8B #3B51B9 #6477CE
Accessibility & contrast
On white
9.78
#2C3D8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2C3D8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3D8B
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3D8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3D8B | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c3d8b; /* rgb */ color: rgb(44, 61, 139); /* oklch */ color: oklch(39.3% 0.131 270.1);
Tailwind
colors: {
custom: {
50: '#7172ad',
500: '#2c3d8b',
950: '#000000',
},
}SCSS
$custom: #2c3d8b; $custom-light: #7172ad; $custom-dark: #000000;
JSON
{
"hex": "#2c3d8b",
"rgb": {
"r": 44,
"g": 61,
"b": 139
},
"hsl": {
"h": 229.263,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.39337,
"c": 0.131,
"h": 270.1
},
"luminance": 0.05737
}Semantic roles & 50–950 ramp
primary
#2C3D8B
secondary
#B4A55F
accent
#C24CDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F