#2C3FA9#2C3FA9
#2C3FA9 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.170 H 269.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3FA9 |
|---|---|
| RGB | rgb(44, 63, 169) |
| HSL | hsl(231, 59%, 42%) |
| HSV | hsv(231, 74%, 66%) |
| CMYK | cmyk(74%, 62.7%, 0%, 33.7%) |
| CIE-LAB | lab(31.70, 30.24, -58.99) |
| CIE-LCH | lch(31.70, 66.29, 297.14°) |
| OKLab | oklab(42.31% -0.0011 -0.1704) |
| OKLCH | oklch(42.31% 0.17 269.6) |
| XYZ | xyz(9.9752, 6.9540, 38.3450) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.12
Blue Blue
#2242C7
ΔE00 4.02
Cobalt
#0047AB
ΔE00 4.63
Blueberry
#464196
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 5.23
Cobalt (survey)
#1E488F
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3FA9 #A9962C
analogous
#2C7EA9 #2C3FA9 #582CA9
triadic
#2C3FA9 #A92C3F #3FA92C
tetradic
#2C3FA9 #A92C7E #A9962C #2CA958
square
#2C3FA9 #A92C7E #A9962C #2CA958
split-complementary
#2C3FA9 #A9582C #7EA92C
monochromatic
#131B48 #1F2D78 #2C3FA9 #4459CE #7484DB
Accessibility & contrast
On white
8.78
#2C3FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2C3FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3FA9
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3FA9 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2c3fa9; /* rgb */ color: rgb(44, 63, 169); /* oklch */ color: oklch(42.3% 0.170 269.6);
Tailwind
colors: {
custom: {
50: '#7874c3',
500: '#2c3fa9',
950: '#000000',
},
}SCSS
$custom: #2c3fa9; $custom-light: #7874c3; $custom-dark: #000000;
JSON
{
"hex": "#2c3fa9",
"rgb": {
"r": 44,
"g": 63,
"b": 169
},
"hsl": {
"h": 230.88,
"s": 58.685,
"l": 41.765
},
"oklch": {
"l": 0.42307,
"c": 0.17042,
"h": 269.6
},
"luminance": 0.06955
}Semantic roles & 50–950 ramp
primary
#2C3FA9
secondary
#C3B66E
accent
#CA46E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82