#2C3FAB#2C3FAB
#2C3FAB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.173 H 269.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3FAB |
|---|---|
| RGB | rgb(44, 63, 171) |
| HSL | hsl(231, 59%, 42%) |
| HSV | hsv(231, 74%, 67%) |
| CMYK | cmyk(74.3%, 63.2%, 0%, 32.9%) |
| CIE-LAB | lab(31.87, 30.97, -59.91) |
| CIE-LCH | lch(31.87, 67.44, 297.34°) |
| OKLab | oklab(42.49% -0.0011 -0.1731) |
| OKLCH | oklch(42.49% 0.173 269.6) |
| XYZ | xyz(10.1644, 7.0297, 39.3414) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.08
Blue Blue
#2242C7
ΔE00 3.75
Cobalt
#0047AB
ΔE00 4.70
Blueberry
#464196
ΔE00 4.95
Ocean Blue
#4F42B5
ΔE00 5.08
Blue (survey)
#0343DF
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3FAB #AB982C
analogous
#2C7EAB #2C3FAB #592CAB
triadic
#2C3FAB #AB2C3F #3FAB2C
tetradic
#2C3FAB #AB2C7E #AB982C #2CAB59
square
#2C3FAB #AB2C7E #AB982C #2CAB59
split-complementary
#2C3FAB #AB592C #7EAB2C
monochromatic
#131B4A #1F2D7A #2C3FAB #455ACF #7685DC
Accessibility & contrast
On white
8.73
#2C3FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2C3FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3FAB
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3FAB | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2c3fab; /* rgb */ color: rgb(44, 63, 171); /* oklch */ color: oklch(42.5% 0.173 269.6);
Tailwind
colors: {
custom: {
50: '#7874c5',
500: '#2c3fab',
950: '#000000',
},
}SCSS
$custom: #2c3fab; $custom-light: #7874c5; $custom-dark: #000000;
JSON
{
"hex": "#2c3fab",
"rgb": {
"r": 44,
"g": 63,
"b": 171
},
"hsl": {
"h": 231.024,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.42487,
"c": 0.17311,
"h": 269.6
},
"luminance": 0.07031
}Semantic roles & 50–950 ramp
primary
#2C3FAB
secondary
#C3B76F
accent
#CB46E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82