#2C3EA2#2C3EA2
#2C3EA2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.162 H 269.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3EA2 |
|---|---|
| RGB | rgb(44, 62, 162) |
| HSL | hsl(231, 57%, 40%) |
| HSV | hsv(231, 73%, 64%) |
| CMYK | cmyk(72.8%, 61.7%, 0%, 36.5%) |
| CIE-LAB | lab(30.85, 28.30, -56.17) |
| CIE-LCH | lch(30.85, 62.90, 296.74°) |
| OKLab | oklab(41.49% -0.0002 -0.1622) |
| OKLCH | oklch(41.49% 0.162 269.9) |
| XYZ | xyz(9.2807, 6.5884, 34.9580) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.31
Blueberry
#464196
ΔE00 4.39
Cobalt
#0047AB
ΔE00 4.80
Blue Blue
#2242C7
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.80
Cobalt (survey)
#1E488F
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3EA2 #A2902C
analogous
#2C79A2 #2C3EA2 #552CA2
triadic
#2C3EA2 #A22C3E #3EA22C
tetradic
#2C3EA2 #A22C79 #A2902C #2CA255
square
#2C3EA2 #A22C79 #A2902C #2CA255
split-complementary
#2C3EA2 #A2552C #79A22C
monochromatic
#121942 #1F2C72 #2C3EA2 #4055CB #7080D8
Accessibility & contrast
On white
9.06
#2C3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2C3EA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3EA2
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3EA2 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c3ea2; /* rgb */ color: rgb(44, 62, 162); /* oklch */ color: oklch(41.5% 0.162 269.9);
Tailwind
colors: {
custom: {
50: '#7673be',
500: '#2c3ea2',
950: '#000000',
},
}SCSS
$custom: #2c3ea2; $custom-light: #7673be; $custom-dark: #000000;
JSON
{
"hex": "#2c3ea2",
"rgb": {
"r": 44,
"g": 62,
"b": 162
},
"hsl": {
"h": 230.847,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.41493,
"c": 0.16216,
"h": 269.9
},
"luminance": 0.06589
}Semantic roles & 50–950 ramp
primary
#2C3EA2
secondary
#BFB26A
accent
#C947E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81