#2C3FA0#2C3FA0
#2C3FA0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.158 H 269.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3FA0 |
|---|---|
| RGB | rgb(44, 63, 160) |
| HSL | hsl(230, 57%, 40%) |
| HSV | hsv(230, 73%, 63%) |
| CMYK | cmyk(72.5%, 60.6%, 0%, 37.3%) |
| CIE-LAB | lab(30.94, 26.89, -54.81) |
| CIE-LCH | lch(30.94, 61.05, 296.13°) |
| OKLab | oklab(41.51% -0.0009 -0.1582) |
| OKLCH | oklch(41.51% 0.158 269.7) |
| XYZ | xyz(9.1592, 6.6276, 34.0474) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.77
Blueberry
#464196
ΔE00 4.35
Cobalt
#0047AB
ΔE00 4.55
Blue Blue
#2242C7
ΔE00 5.28
Cobalt (survey)
#1E488F
ΔE00 5.64
Ocean Blue
#4F42B5
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3FA0 #A08D2C
analogous
#2C79A0 #2C3FA0 #532CA0
triadic
#2C3FA0 #A02C3F #3FA02C
tetradic
#2C3FA0 #A02C79 #A08D2C #2CA053
square
#2C3FA0 #A02C79 #A08D2C #2CA053
split-complementary
#2C3FA0 #A0532C #79A02C
monochromatic
#121940 #1F2C70 #2C3FA0 #3F56CA #6F80D7
Accessibility & contrast
On white
9.03
#2C3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2C3FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3FA0
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3FA0 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c3fa0; /* rgb */ color: rgb(44, 63, 160); /* oklch */ color: oklch(41.5% 0.158 269.7);
Tailwind
colors: {
custom: {
50: '#7573bd',
500: '#2c3fa0',
950: '#000000',
},
}SCSS
$custom: #2c3fa0; $custom-light: #7573bd; $custom-dark: #000000;
JSON
{
"hex": "#2c3fa0",
"rgb": {
"r": 44,
"g": 63,
"b": 160
},
"hsl": {
"h": 230.172,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.4151,
"c": 0.15816,
"h": 269.7
},
"luminance": 0.06629
}Semantic roles & 50–950 ramp
primary
#2C3FA0
secondary
#BFB169
accent
#C748E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81