#2C3FA1#2C3FA1
#2C3FA1 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.160 H 269.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3FA1 |
|---|---|
| RGB | rgb(44, 63, 161) |
| HSL | hsl(230, 57%, 40%) |
| HSV | hsv(230, 73%, 63%) |
| CMYK | cmyk(72.7%, 60.9%, 0%, 36.9%) |
| CIE-LAB | lab(31.03, 27.26, -55.28) |
| CIE-LCH | lch(31.03, 61.64, 296.25°) |
| OKLab | oklab(41.6% -0.0009 -0.1595) |
| OKLCH | oklch(41.6% 0.16 269.7) |
| XYZ | xyz(9.2470, 6.6628, 34.5100) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.67
Blueberry
#464196
ΔE00 4.38
Cobalt
#0047AB
ΔE00 4.54
Blue Blue
#2242C7
ΔE00 5.14
Cobalt (survey)
#1E488F
ΔE00 5.73
Ocean Blue
#4F42B5
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3FA1 #A18E2C
analogous
#2C7AA1 #2C3FA1 #532CA1
triadic
#2C3FA1 #A12C3F #3FA12C
tetradic
#2C3FA1 #A12C7A #A18E2C #2CA153
square
#2C3FA1 #A12C7A #A18E2C #2CA153
split-complementary
#2C3FA1 #A1532C #7AA12C
monochromatic
#121941 #1F2C71 #2C3FA1 #4056CB #7081D8
Accessibility & contrast
On white
9.00
#2C3FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2C3FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3FA1
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3FA1 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c3fa1; /* rgb */ color: rgb(44, 63, 161); /* oklch */ color: oklch(41.6% 0.160 269.7);
Tailwind
colors: {
custom: {
50: '#7673be',
500: '#2c3fa1',
950: '#000000',
},
}SCSS
$custom: #2c3fa1; $custom-light: #7673be; $custom-dark: #000000;
JSON
{
"hex": "#2c3fa1",
"rgb": {
"r": 44,
"g": 63,
"b": 161
},
"hsl": {
"h": 230.256,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.41597,
"c": 0.15954,
"h": 269.7
},
"luminance": 0.06664
}Semantic roles & 50–950 ramp
primary
#2C3FA1
secondary
#BFB16A
accent
#C847E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81