#2C3DAF#2C3DAF
#2C3DAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.181 H 270.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3DAF |
|---|---|
| RGB | rgb(44, 61, 175) |
| HSL | hsl(232, 60%, 43%) |
| HSV | hsv(232, 75%, 69%) |
| CMYK | cmyk(74.9%, 65.1%, 0%, 31.4%) |
| CIE-LAB | lab(31.73, 33.74, -62.53) |
| CIE-LCH | lch(31.73, 71.05, 298.35°) |
| OKLab | oklab(42.49% 0 -0.1808) |
| OKLCH | oklch(42.49% 0.181 270) |
| XYZ | xyz(10.4427, 6.9670, 41.3435) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.65
Blue Blue
#2242C7
ΔE00 3.41
Ocean Blue
#4F42B5
ΔE00 4.77
Blueberry
#464196
ΔE00 5.29
Cobalt
#0047AB
ΔE00 5.38
Blue (survey)
#0343DF
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3DAF #AF9E2C
analogous
#2C7EAF #2C3DAF #5D2CAF
triadic
#2C3DAF #AF2C3D #3DAF2C
tetradic
#2C3DAF #AF2C7E #AF9E2C #2CAF5D
square
#2C3DAF #AF2C7E #AF9E2C #2CAF5D
split-complementary
#2C3DAF #AF5D2C #7EAF2C
monochromatic
#131B4D #202C7E #2C3DAF #4759D1 #7885DD
Accessibility & contrast
On white
8.77
#2C3DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2C3DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3DAF
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3DAF | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2c3daf; /* rgb */ color: rgb(44, 61, 175); /* oklch */ color: oklch(42.5% 0.181 270.0);
Tailwind
colors: {
custom: {
50: '#7972c8',
500: '#2c3daf',
950: '#000000',
},
}SCSS
$custom: #2c3daf; $custom-light: #7972c8; $custom-dark: #000000;
JSON
{
"hex": "#2c3daf",
"rgb": {
"r": 44,
"g": 61,
"b": 175
},
"hsl": {
"h": 232.214,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.42491,
"c": 0.18081,
"h": 270
},
"luminance": 0.06968
}Semantic roles & 50–950 ramp
primary
#2C3DAF
secondary
#C5BA72
accent
#CE45E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82