#2D56AF#2D56AF
#2D56AF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.150 H 263.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2D56AF |
|---|---|
| RGB | rgb(45, 86, 175) |
| HSL | hsl(221, 59%, 43%) |
| HSV | hsv(221, 74%, 69%) |
| CMYK | cmyk(74.3%, 50.9%, 0%, 31.4%) |
| CIE-LAB | lab(38.39, 17.41, -51.70) |
| CIE-LCH | lch(38.39, 54.55, 288.61°) |
| OKLab | oklab(47.49% -0.0176 -0.1486) |
| OKLCH | oklch(47.49% 0.15 263.3) |
| XYZ | xyz(12.1451, 10.3073, 41.8986) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.21
Denim Blue
#3B5B92
ΔE00 4.19
Denim
#1560BD
ΔE00 4.56
Dusk Blue
#26538D
ΔE00 4.81
Cobalt
#0047AB
ΔE00 4.93
Dusky Blue
#475F94
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D56AF #AF862D
analogous
#2D97AF #2D56AF #452DAF
triadic
#2D56AF #AF2D56 #56AF2D
tetradic
#2D56AF #AF2D97 #AF862D #2DAF45
square
#2D56AF #AF2D97 #AF862D #2DAF45
split-complementary
#2D56AF #AF452D #97AF2D
monochromatic
#14264E #203E7E #2D56AF #4974D0 #7A99DD
Accessibility & contrast
On white
6.86
#2D56AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2D56AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D56AF
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D56AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D56AF | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2d56af; /* rgb */ color: rgb(45, 86, 175); /* oklch */ color: oklch(47.5% 0.150 263.3);
Tailwind
colors: {
custom: {
50: '#7885c7',
500: '#2d56af',
950: '#000000',
},
}SCSS
$custom: #2d56af; $custom-light: #7885c7; $custom-dark: #000000;
JSON
{
"hex": "#2d56af",
"rgb": {
"r": 45,
"g": 86,
"b": 175
},
"hsl": {
"h": 221.077,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.47487,
"c": 0.14966,
"h": 263.3
},
"luminance": 0.10309
}Semantic roles & 50–950 ramp
primary
#2D56AF
secondary
#C5AB73
accent
#B146E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82