#2C3FAF#2C3FAF
#2C3FAF is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.178 H 269.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3FAF |
|---|---|
| RGB | rgb(44, 63, 175) |
| HSL | hsl(231, 60%, 43%) |
| HSV | hsv(231, 75%, 69%) |
| CMYK | cmyk(74.9%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(32.22, 32.44, -61.72) |
| CIE-LCH | lch(32.22, 69.73, 297.73°) |
| OKLab | oklab(42.85% -0.0013 -0.1784) |
| OKLCH | oklch(42.85% 0.178 269.6) |
| XYZ | xyz(10.5514, 7.1845, 41.3798) |
| Luminance | 0.0719 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.12
Blue Blue
#2242C7
ΔE00 3.22
Ocean Blue
#4F42B5
ΔE00 4.81
Cobalt
#0047AB
ΔE00 4.87
Blueberry
#464196
ΔE00 5.26
Blue (survey)
#0343DF
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3FAF #AF9C2C
analogous
#2C80AF #2C3FAF #5B2CAF
triadic
#2C3FAF #AF2C3F #3FAF2C
tetradic
#2C3FAF #AF2C80 #AF9C2C #2CAF5B
square
#2C3FAF #AF2C80 #AF9C2C #2CAF5B
split-complementary
#2C3FAF #AF5B2C #80AF2C
monochromatic
#131C4D #202D7E #2C3FAF #475BD1 #7887DD
Accessibility & contrast
On white
8.62
#2C3FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2C3FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3FAF
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3FAF | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2c3faf; /* rgb */ color: rgb(44, 63, 175); /* oklch */ color: oklch(42.9% 0.178 269.6);
Tailwind
colors: {
custom: {
50: '#7974c8',
500: '#2c3faf',
950: '#000000',
},
}SCSS
$custom: #2c3faf; $custom-light: #7974c8; $custom-dark: #000000;
JSON
{
"hex": "#2c3faf",
"rgb": {
"r": 44,
"g": 63,
"b": 175
},
"hsl": {
"h": 231.298,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.42852,
"c": 0.17843,
"h": 269.6
},
"luminance": 0.07186
}Semantic roles & 50–950 ramp
primary
#2C3FAF
secondary
#C5B972
accent
#CC45E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82