#2D54AB#2D54AB
#2D54AB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.147 H 263.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2D54AB |
|---|---|
| RGB | rgb(45, 84, 171) |
| HSL | hsl(221, 58%, 42%) |
| HSV | hsv(221, 74%, 67%) |
| CMYK | cmyk(73.7%, 50.9%, 0%, 32.9%) |
| CIE-LAB | lab(37.55, 17.20, -50.68) |
| CIE-LCH | lch(37.55, 53.52, 288.75°) |
| OKLab | oklab(46.76% -0.0164 -0.1457) |
| OKLCH | oklch(46.76% 0.147 263.6) |
| XYZ | xyz(11.6006, 9.8376, 39.8076) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.33
Denim Blue
#3B5B92
ΔE00 4.14
Cobalt
#0047AB
ΔE00 4.34
Dusk Blue
#26538D
ΔE00 4.43
Cobalt (survey)
#1E488F
ΔE00 5.21
Denim
#1560BD
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D54AB #AB842D
analogous
#2D93AB #2D54AB #452DAB
triadic
#2D54AB #AB2D54 #54AB2D
tetradic
#2D54AB #AB2D93 #AB842D #2DAB45
square
#2D54AB #AB2D93 #AB842D #2DAB45
split-complementary
#2D54AB #AB452D #93AB2D
monochromatic
#14244A #203C7B #2D54AB #4771CE #7796DB
Accessibility & contrast
On white
7.08
#2D54AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2D54AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D54AB
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D54AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D54AB | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 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: #2d54ab; /* rgb */ color: rgb(45, 84, 171); /* oklch */ color: oklch(46.8% 0.147 263.6);
Tailwind
colors: {
custom: {
50: '#7783c5',
500: '#2d54ab',
950: '#000000',
},
}SCSS
$custom: #2d54ab; $custom-light: #7783c5; $custom-dark: #000000;
JSON
{
"hex": "#2d54ab",
"rgb": {
"r": 45,
"g": 84,
"b": 171
},
"hsl": {
"h": 221.429,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.46759,
"c": 0.14659,
"h": 263.6
},
"luminance": 0.09839
}Semantic roles & 50–950 ramp
primary
#2D54AB
secondary
#C3AA71
accent
#B146E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82