#2C4ABE#2C4ABE
#2C4ABE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.185 H 267.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4ABE |
|---|---|
| RGB | rgb(44, 74, 190) |
| HSL | hsl(228, 62%, 46%) |
| HSV | hsv(228, 77%, 75%) |
| CMYK | cmyk(76.8%, 61.1%, 0%, 25.5%) |
| CIE-LAB | lab(36.27, 30.84, -63.97) |
| CIE-LCH | lch(36.27, 71.02, 295.74°) |
| OKLab | oklab(46.24% -0.0086 -0.1849) |
| OKLCH | oklch(46.24% 0.185 267.3) |
| XYZ | xyz(12.7785, 9.1493, 49.7977) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.68
Sapphire
#0F52BA
ΔE00 4.26
Cobalt
#0047AB
ΔE00 4.32
Blue (survey)
#0343DF
ΔE00 4.42
Ocean Blue
#4F42B5
ΔE00 5.73
Sapphire (survey)
#2138AB
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4ABE #BEA02C
analogous
#2C93BE #2C4ABE #572CBE
triadic
#2C4ABE #BE2C4A #4ABE2C
tetradic
#2C4ABE #BE2C93 #BEA02C #2CBE57
square
#2C4ABE #BE2C93 #BEA02C #2CBE57
split-complementary
#2C4ABE #BE572C #93BE2C
monochromatic
#15235B #20378C #2C4ABE #516CD7 #8296E2
Accessibility & contrast
On white
7.42
#2C4ABE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2C4ABE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4ABE
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4ABE | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4abe; /* rgb */ color: rgb(44, 74, 190); /* oklch */ color: oklch(46.2% 0.185 267.3);
Tailwind
colors: {
custom: {
50: '#7c7cd3',
500: '#2c4abe',
950: '#000000',
},
}SCSS
$custom: #2c4abe; $custom-light: #7c7cd3; $custom-dark: #000000;
JSON
{
"hex": "#2c4abe",
"rgb": {
"r": 44,
"g": 74,
"b": 190
},
"hsl": {
"h": 227.671,
"s": 62.393,
"l": 45.882
},
"oklch": {
"l": 0.4624,
"c": 0.1851,
"h": 267.3
},
"luminance": 0.09151
}Semantic roles & 50–950 ramp
primary
#2C4ABE
secondary
#CBBB7B
accent
#C442E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83