#2C3D8A#2C3D8A
#2C3D8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.130 H 270.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3D8A |
|---|---|
| RGB | rgb(44, 61, 138) |
| HSL | hsl(229, 52%, 36%) |
| HSV | hsv(229, 68%, 54%) |
| CMYK | cmyk(68.1%, 55.8%, 0%, 45.9%) |
| CIE-LAB | lab(28.66, 19.96, -45.07) |
| CIE-LCH | lch(28.66, 49.29, 293.89°) |
| OKLab | oklab(39.26% 0.0001 -0.1295) |
| OKLCH | oklch(39.26% 0.13 270) |
| XYZ | xyz(7.2933, 5.7073, 24.7571) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.73
Cobalt (survey)
#1E488F
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 5.42
Sapphire (survey)
#2138AB
ΔE00 5.45
Darkish Blue
#014182
ΔE00 5.85
Cobalt
#0047AB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3D8A #8A792C
analogous
#2C6C8A #2C3D8A #4A2C8A
triadic
#2C3D8A #8A2C3D #3D8A2C
tetradic
#2C3D8A #8A2C6C #8A792C #2C8A4A
square
#2C3D8A #8A2C6C #8A792C #2C8A4A
split-complementary
#2C3D8A #8A4A2C #6C8A2C
monochromatic
#0E142D #1D285C #2C3D8A #3B52B8 #6376CD
Accessibility & contrast
On white
9.81
#2C3D8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2C3D8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3D8A
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3D8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3D8A | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#03488D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2c3d8a; /* rgb */ color: rgb(44, 61, 138); /* oklch */ color: oklch(39.3% 0.130 270.0);
Tailwind
colors: {
custom: {
50: '#7172ad',
500: '#2c3d8a',
950: '#000000',
},
}SCSS
$custom: #2c3d8a; $custom-light: #7172ad; $custom-dark: #000000;
JSON
{
"hex": "#2c3d8a",
"rgb": {
"r": 44,
"g": 61,
"b": 138
},
"hsl": {
"h": 229.149,
"s": 51.648,
"l": 35.686
},
"oklch": {
"l": 0.39256,
"c": 0.12954,
"h": 270
},
"luminance": 0.05708
}Semantic roles & 50–950 ramp
primary
#2C3D8A
secondary
#B4A45E
accent
#C14DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F