#2C3DA8#2C3DA8
#2C3DA8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.172 H 270.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3DA8 |
|---|---|
| RGB | rgb(44, 61, 168) |
| HSL | hsl(232, 58%, 42%) |
| HSV | hsv(232, 74%, 66%) |
| CMYK | cmyk(73.8%, 63.7%, 0%, 34.1%) |
| CIE-LAB | lab(31.11, 31.17, -59.36) |
| CIE-LCH | lch(31.11, 67.04, 297.71°) |
| OKLab | oklab(41.85% 0.0003 -0.1715) |
| OKLCH | oklch(41.85% 0.172 270.1) |
| XYZ | xyz(9.7729, 6.6991, 37.8162) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.62
Blue Blue
#2242C7
ΔE00 4.28
Blueberry
#464196
ΔE00 4.75
Cobalt
#0047AB
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 5.24
Darkslateblue
#483D8B
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3DA8 #A8972C
analogous
#2C7BA8 #2C3DA8 #592CA8
triadic
#2C3DA8 #A82C3D #3DA82C
tetradic
#2C3DA8 #A82C7B #A8972C #2CA859
square
#2C3DA8 #A82C7B #A8972C #2CA859
split-complementary
#2C3DA8 #A8592C #7BA82C
monochromatic
#131A47 #1F2B78 #2C3DA8 #4356CE #7482DB
Accessibility & contrast
On white
8.97
#2C3DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2C3DA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3DA8
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3DA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3DA8 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c3da8; /* rgb */ color: rgb(44, 61, 168); /* oklch */ color: oklch(41.8% 0.172 270.1);
Tailwind
colors: {
custom: {
50: '#7872c3',
500: '#2c3da8',
950: '#000000',
},
}SCSS
$custom: #2c3da8; $custom-light: #7872c3; $custom-dark: #000000;
JSON
{
"hex": "#2c3da8",
"rgb": {
"r": 44,
"g": 61,
"b": 168
},
"hsl": {
"h": 231.774,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.41845,
"c": 0.17151,
"h": 270.1
},
"luminance": 0.067
}Semantic roles & 50–950 ramp
primary
#2C3DA8
secondary
#C2B76E
accent
#CC46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82