#2C3FA5#2C3FA5
#2C3FA5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.165 H 269.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3FA5 |
|---|---|
| RGB | rgb(44, 63, 165) |
| HSL | hsl(231, 58%, 41%) |
| HSV | hsv(231, 73%, 65%) |
| CMYK | cmyk(73.3%, 61.8%, 0%, 35.3%) |
| CIE-LAB | lab(31.36, 28.75, -57.15) |
| CIE-LCH | lch(31.36, 63.97, 296.71°) |
| OKLab | oklab(41.95% -0.001 -0.165) |
| OKLCH | oklch(41.95% 0.165 269.7) |
| XYZ | xyz(9.6054, 6.8061, 36.3975) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.33
Cobalt
#0047AB
ΔE00 4.55
Blueberry
#464196
ΔE00 4.56
Blue Blue
#2242C7
ΔE00 4.57
Ocean Blue
#4F42B5
ΔE00 5.57
Cobalt (survey)
#1E488F
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3FA5 #A5922C
analogous
#2C7BA5 #2C3FA5 #562CA5
triadic
#2C3FA5 #A52C3F #3FA52C
tetradic
#2C3FA5 #A52C7B #A5922C #2CA556
square
#2C3FA5 #A52C7B #A5922C #2CA556
split-complementary
#2C3FA5 #A5562C #7BA52C
monochromatic
#121A44 #1F2D75 #2C3FA5 #4257CD #7282D9
Accessibility & contrast
On white
8.89
#2C3FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2C3FA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3FA5
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3FA5 | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c3fa5; /* rgb */ color: rgb(44, 63, 165); /* oklch */ color: oklch(41.9% 0.165 269.7);
Tailwind
colors: {
custom: {
50: '#7773c1',
500: '#2c3fa5',
950: '#000000',
},
}SCSS
$custom: #2c3fa5; $custom-light: #7773c1; $custom-dark: #000000;
JSON
{
"hex": "#2c3fa5",
"rgb": {
"r": 44,
"g": 63,
"b": 165
},
"hsl": {
"h": 230.579,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.41949,
"c": 0.16501,
"h": 269.7
},
"luminance": 0.06807
}Semantic roles & 50–950 ramp
primary
#2C3FA5
secondary
#C1B36C
accent
#C947E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81