#2C4ABF#2C4ABF
#2C4ABF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.186 H 267.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4ABF |
|---|---|
| RGB | rgb(44, 74, 191) |
| HSL | hsl(228, 63%, 46%) |
| HSV | hsv(228, 77%, 75%) |
| CMYK | cmyk(77%, 61.3%, 0%, 25.1%) |
| CIE-LAB | lab(36.35, 31.21, -64.42) |
| CIE-LCH | lch(36.35, 71.58, 295.85°) |
| OKLab | oklab(46.33% -0.0086 -0.1862) |
| OKLCH | oklch(46.33% 0.186 267.3) |
| XYZ | xyz(12.8882, 9.1932, 50.3753) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.61
Blue (survey)
#0343DF
ΔE00 4.30
Sapphire
#0F52BA
ΔE00 4.32
Cobalt
#0047AB
ΔE00 4.43
Ocean Blue
#4F42B5
ΔE00 5.71
Sapphire (survey)
#2138AB
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4ABF #BFA12C
analogous
#2C93BF #2C4ABF #572CBF
triadic
#2C4ABF #BF2C4A #4ABF2C
tetradic
#2C4ABF #BF2C93 #BFA12C #2CBF57
square
#2C4ABF #BF2C93 #BFA12C #2CBF57
split-complementary
#2C4ABF #BF572C #93BF2C
monochromatic
#15235C #21378D #2C4ABF #516DD7 #8396E2
Accessibility & contrast
On white
7.40
#2C4ABF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2C4ABF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4ABF
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4ABF | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4abf; /* rgb */ color: rgb(44, 74, 191); /* oklch */ color: oklch(46.3% 0.186 267.3);
Tailwind
colors: {
custom: {
50: '#7c7cd3',
500: '#2c4abf',
950: '#000000',
},
}SCSS
$custom: #2c4abf; $custom-light: #7c7cd3; $custom-dark: #000000;
JSON
{
"hex": "#2c4abf",
"rgb": {
"r": 44,
"g": 74,
"b": 191
},
"hsl": {
"h": 227.755,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.46328,
"c": 0.18642,
"h": 267.3
},
"luminance": 0.09195
}Semantic roles & 50–950 ramp
primary
#2C4ABF
secondary
#CCBB7B
accent
#C442E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83