#2C54AB#2C54AB
#2C54AB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.147 H 263.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2C54AB |
|---|---|
| RGB | rgb(44, 84, 171) |
| HSL | hsl(221, 59%, 42%) |
| HSV | hsv(221, 74%, 67%) |
| CMYK | cmyk(74.3%, 50.9%, 0%, 32.9%) |
| CIE-LAB | lab(37.51, 17.07, -50.75) |
| CIE-LCH | lch(37.51, 53.54, 288.59°) |
| OKLab | oklab(46.72% -0.0172 -0.1459) |
| OKLCH | oklch(46.72% 0.147 263.3) |
| XYZ | xyz(11.5571, 9.8151, 39.8056) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.26
Denim Blue
#3B5B92
ΔE00 4.14
Cobalt
#0047AB
ΔE00 4.31
Dusk Blue
#26538D
ΔE00 4.35
Cobalt (survey)
#1E488F
ΔE00 5.17
Denim
#1560BD
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C54AB #AB832C
analogous
#2C94AB #2C54AB #432CAB
triadic
#2C54AB #AB2C54 #54AB2C
tetradic
#2C54AB #AB2C94 #AB832C #2CAB43
square
#2C54AB #AB2C94 #AB832C #2CAB43
split-complementary
#2C54AB #AB432C #94AB2C
monochromatic
#13244A #1F3C7A #2C54AB #4571CF #7696DC
Accessibility & contrast
On white
7.09
#2C54AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2C54AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C54AB
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C54AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C54AB | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5EAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2c54ab; /* rgb */ color: rgb(44, 84, 171); /* oklch */ color: oklch(46.7% 0.147 263.3);
Tailwind
colors: {
custom: {
50: '#7783c5',
500: '#2c54ab',
950: '#000000',
},
}SCSS
$custom: #2c54ab; $custom-light: #7783c5; $custom-dark: #000000;
JSON
{
"hex": "#2c54ab",
"rgb": {
"r": 44,
"g": 84,
"b": 171
},
"hsl": {
"h": 221.102,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.46717,
"c": 0.1469,
"h": 263.3
},
"luminance": 0.09816
}Semantic roles & 50–950 ramp
primary
#2C54AB
secondary
#C3A96F
accent
#B146E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82