#2C3DA5#2C3DA5
#2C3DA5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.167 H 270.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3DA5 |
|---|---|
| RGB | rgb(44, 61, 165) |
| HSL | hsl(232, 58%, 41%) |
| HSV | hsv(232, 73%, 65%) |
| CMYK | cmyk(73.3%, 63%, 0%, 35.3%) |
| CIE-LAB | lab(30.85, 30.07, -57.98) |
| CIE-LCH | lch(30.85, 65.31, 297.41°) |
| OKLab | oklab(41.57% 0.0004 -0.1675) |
| OKLCH | oklch(41.57% 0.167 270.2) |
| XYZ | xyz(9.4967, 6.5886, 36.3613) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.80
Blueberry
#464196
ΔE00 4.55
Blue Blue
#2242C7
ΔE00 4.68
Cobalt
#0047AB
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 5.49
Darkslateblue
#483D8B
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3DA5 #A5942C
analogous
#2C79A5 #2C3DA5 #572CA5
triadic
#2C3DA5 #A52C3D #3DA52C
tetradic
#2C3DA5 #A52C79 #A5942C #2CA557
square
#2C3DA5 #A52C79 #A5942C #2CA557
split-complementary
#2C3DA5 #A5572C #79A52C
monochromatic
#121944 #1F2B75 #2C3DA5 #4255CD #7281D9
Accessibility & contrast
On white
9.06
#2C3DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2C3DA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3DA5
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3DA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3DA5 | 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)
#004EA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c3da5; /* rgb */ color: rgb(44, 61, 165); /* oklch */ color: oklch(41.6% 0.167 270.2);
Tailwind
colors: {
custom: {
50: '#7772c1',
500: '#2c3da5',
950: '#000000',
},
}SCSS
$custom: #2c3da5; $custom-light: #7772c1; $custom-dark: #000000;
JSON
{
"hex": "#2c3da5",
"rgb": {
"r": 44,
"g": 61,
"b": 165
},
"hsl": {
"h": 231.57,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.41572,
"c": 0.16747,
"h": 270.2
},
"luminance": 0.0659
}Semantic roles & 50–950 ramp
primary
#2C3DA5
secondary
#C1B56C
accent
#CB47E1
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81