#2C3DA2#2C3DA2
#2C3DA2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.163 H 270.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3DA2 |
|---|---|
| RGB | rgb(44, 61, 162) |
| HSL | hsl(231, 57%, 40%) |
| HSV | hsv(231, 73%, 64%) |
| CMYK | cmyk(72.8%, 62.3%, 0%, 36.5%) |
| CIE-LAB | lab(30.59, 28.96, -56.59) |
| CIE-LCH | lch(30.59, 63.57, 297.10°) |
| OKLab | oklab(41.3% 0.0005 -0.1634) |
| OKLCH | oklch(41.3% 0.163 270.2) |
| XYZ | xyz(9.2268, 6.4807, 34.9400) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.07
Blueberry
#464196
ΔE00 4.39
Cobalt
#0047AB
ΔE00 5.07
Blue Blue
#2242C7
ΔE00 5.08
Ocean Blue
#4F42B5
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3DA2 #A2912C
analogous
#2C78A2 #2C3DA2 #562CA2
triadic
#2C3DA2 #A22C3D #3DA22C
tetradic
#2C3DA2 #A22C78 #A2912C #2CA256
square
#2C3DA2 #A22C78 #A2912C #2CA256
split-complementary
#2C3DA2 #A2562C #78A22C
monochromatic
#121942 #1F2B72 #2C3DA2 #4054CB #707FD8
Accessibility & contrast
On white
9.14
#2C3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2C3DA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3DA2
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3DA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3DA2 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2c3da2; /* rgb */ color: rgb(44, 61, 162); /* oklch */ color: oklch(41.3% 0.163 270.2);
Tailwind
colors: {
custom: {
50: '#7672be',
500: '#2c3da2',
950: '#000000',
},
}SCSS
$custom: #2c3da2; $custom-light: #7672be; $custom-dark: #000000;
JSON
{
"hex": "#2c3da2",
"rgb": {
"r": 44,
"g": 61,
"b": 162
},
"hsl": {
"h": 231.356,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.41303,
"c": 0.1634,
"h": 270.2
},
"luminance": 0.06482
}Semantic roles & 50–950 ramp
primary
#2C3DA2
secondary
#BFB36A
accent
#CA47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81