#2C4FAB#2C4FAB
#2C4FAB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.153 H 265.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FAB |
|---|---|
| RGB | rgb(44, 79, 171) |
| HSL | hsl(223, 59%, 42%) |
| HSV | hsv(223, 74%, 67%) |
| CMYK | cmyk(74.3%, 53.8%, 0%, 32.9%) |
| CIE-LAB | lab(36.11, 20.38, -53.01) |
| CIE-LCH | lch(36.11, 56.79, 291.03°) |
| OKLab | oklab(45.66% -0.0131 -0.1526) |
| OKLCH | oklch(45.66% 0.153 265.1) |
| XYZ | xyz(11.1828, 9.0665, 39.6808) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.74
Cobalt
#0047AB
ΔE00 3.13
Cobalt (survey)
#1E488F
ΔE00 4.59
Dusk Blue
#26538D
ΔE00 5.12
Denim Blue
#3B5B92
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FAB #AB882C
analogous
#2C8EAB #2C4FAB #492CAB
triadic
#2C4FAB #AB2C4F #4FAB2C
tetradic
#2C4FAB #AB2C8E #AB882C #2CAB49
square
#2C4FAB #AB2C8E #AB882C #2CAB49
split-complementary
#2C4FAB #AB492C #8EAB2C
monochromatic
#13224A #1F397A #2C4FAB #456BCF #7692DC
Accessibility & contrast
On white
7.46
#2C4FAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2C4FAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FAB
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FAB | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#095BAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4fab; /* rgb */ color: rgb(44, 79, 171); /* oklch */ color: oklch(45.7% 0.153 265.1);
Tailwind
colors: {
custom: {
50: '#777fc5',
500: '#2c4fab',
950: '#000000',
},
}SCSS
$custom: #2c4fab; $custom-light: #777fc5; $custom-dark: #000000;
JSON
{
"hex": "#2c4fab",
"rgb": {
"r": 44,
"g": 79,
"b": 171
},
"hsl": {
"h": 223.465,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.45656,
"c": 0.15318,
"h": 265.1
},
"luminance": 0.09068
}Semantic roles & 50–950 ramp
primary
#2C4FAB
secondary
#C3AC6F
accent
#B746E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82