#2C3FA4#2C3FA4
#2C3FA4 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.164 H 269.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3FA4 |
|---|---|
| RGB | rgb(44, 63, 164) |
| HSL | hsl(231, 58%, 41%) |
| HSV | hsv(231, 73%, 64%) |
| CMYK | cmyk(73.2%, 61.6%, 0%, 35.7%) |
| CIE-LAB | lab(31.28, 28.38, -56.68) |
| CIE-LCH | lch(31.28, 63.39, 296.60°) |
| OKLab | oklab(41.86% -0.001 -0.1636) |
| OKLCH | oklch(41.86% 0.164 269.7) |
| XYZ | xyz(9.5148, 6.7698, 35.9200) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.40
Blueberry
#464196
ΔE00 4.51
Cobalt
#0047AB
ΔE00 4.54
Blue Blue
#2242C7
ΔE00 4.71
Ocean Blue
#4F42B5
ΔE00 5.67
Cobalt (survey)
#1E488F
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3FA4 #A4912C
analogous
#2C7BA4 #2C3FA4 #552CA4
triadic
#2C3FA4 #A42C3F #3FA42C
tetradic
#2C3FA4 #A42C7B #A4912C #2CA455
square
#2C3FA4 #A42C7B #A4912C #2CA455
split-complementary
#2C3FA4 #A4552C #7BA42C
monochromatic
#121A43 #1F2C74 #2C3FA4 #4157CC #7182D9
Accessibility & contrast
On white
8.92
#2C3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2C3FA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3FA4
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3FA4 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c3fa4; /* rgb */ color: rgb(44, 63, 164); /* oklch */ color: oklch(41.9% 0.164 269.7);
Tailwind
colors: {
custom: {
50: '#7673c0',
500: '#2c3fa4',
950: '#000000',
},
}SCSS
$custom: #2c3fa4; $custom-light: #7673c0; $custom-dark: #000000;
JSON
{
"hex": "#2c3fa4",
"rgb": {
"r": 44,
"g": 63,
"b": 164
},
"hsl": {
"h": 230.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.41861,
"c": 0.16365,
"h": 269.7
},
"luminance": 0.06771
}Semantic roles & 50–950 ramp
primary
#2C3FA4
secondary
#C0B36B
accent
#C947E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81