#2C4EB3#2C4EB3
#2C4EB3 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.165 H 265.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4EB3 |
|---|---|
| RGB | rgb(44, 78, 179) |
| HSL | hsl(225, 61%, 44%) |
| HSV | hsv(225, 75%, 70%) |
| CMYK | cmyk(75.4%, 56.4%, 0%, 29.8%) |
| CIE-LAB | lab(36.44, 24.09, -57.22) |
| CIE-LCH | lch(36.44, 62.09, 292.83°) |
| OKLab | oklab(46.09% -0.0117 -0.165) |
| OKLCH | oklch(46.09% 0.165 265.9) |
| XYZ | xyz(11.8969, 9.2376, 43.7951) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.77
Cobalt
#0047AB
ΔE00 3.34
Blue Blue
#2242C7
ΔE00 4.79
Cobalt (survey)
#1E488F
ΔE00 5.60
Dusk Blue
#26538D
ΔE00 6.25
Denim Blue
#3B5B92
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4EB3 #B3912C
analogous
#2C91B3 #2C4EB3 #4D2CB3
triadic
#2C4EB3 #B32C4E #4EB32C
tetradic
#2C4EB3 #B32C91 #B3912C #2CB34D
square
#2C4EB3 #B32C91 #B3912C #2CB34D
split-complementary
#2C4EB3 #B34D2C #91B32C
monochromatic
#142351 #203982 #2C4EB3 #4A6CD2 #7B94DF
Accessibility & contrast
On white
7.37
#2C4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2C4EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4EB3
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4EB3 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c4eb3; /* rgb */ color: rgb(44, 78, 179); /* oklch */ color: oklch(46.1% 0.165 265.9);
Tailwind
colors: {
custom: {
50: '#797fca',
500: '#2c4eb3',
950: '#000000',
},
}SCSS
$custom: #2c4eb3; $custom-light: #797fca; $custom-dark: #000000;
JSON
{
"hex": "#2c4eb3",
"rgb": {
"r": 44,
"g": 78,
"b": 179
},
"hsl": {
"h": 224.889,
"s": 60.538,
"l": 43.725
},
"oklch": {
"l": 0.46091,
"c": 0.16544,
"h": 265.9
},
"luminance": 0.09239
}Semantic roles & 50–950 ramp
primary
#2C4EB3
secondary
#C7B274
accent
#BB44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82