#2D5DAF#2D5DAF
#2D5DAF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.141 H 260.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5DAF |
|---|---|
| RGB | rgb(45, 93, 175) |
| HSL | hsl(218, 59%, 43%) |
| HSV | hsv(218, 74%, 69%) |
| CMYK | cmyk(74.3%, 46.9%, 0%, 31.4%) |
| CIE-LAB | lab(40.38, 12.82, -48.49) |
| CIE-LCH | lch(40.38, 50.16, 284.81°) |
| OKLab | oklab(49.01% -0.0236 -0.1391) |
| OKLCH | oklch(49.01% 0.141 260.4) |
| XYZ | xyz(12.7316, 11.4803, 42.0941) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.41
Denim Blue
#3B5B92
ΔE00 3.86
Sapphire
#0F52BA
ΔE00 3.91
Denim (survey)
#3B638C
ΔE00 4.77
French Blue
#436BAD
ΔE00 4.88
Light Navy Blue
#2E5A88
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5DAF #AF7F2D
analogous
#2D9EAF #2D5DAF #3E2DAF
triadic
#2D5DAF #AF2D5D #5DAF2D
tetradic
#2D5DAF #AF2D9E #AF7F2D #2DAF3E
square
#2D5DAF #AF2D9E #AF7F2D #2DAF3E
split-complementary
#2D5DAF #AF3E2D #9EAF2D
monochromatic
#14294E #20437E #2D5DAF #497BD0 #7A9EDD
Accessibility & contrast
On white
6.37
#2D5DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#2D5DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D5DAF
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5DAF | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#125AAD
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2d5daf; /* rgb */ color: rgb(45, 93, 175); /* oklch */ color: oklch(49.0% 0.141 260.4);
Tailwind
colors: {
custom: {
50: '#788ac7',
500: '#2d5daf',
950: '#000000',
},
}SCSS
$custom: #2d5daf; $custom-light: #788ac7; $custom-dark: #000000;
JSON
{
"hex": "#2d5daf",
"rgb": {
"r": 45,
"g": 93,
"b": 175
},
"hsl": {
"h": 217.846,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.49011,
"c": 0.14106,
"h": 260.4
},
"luminance": 0.11482
}Semantic roles & 50–950 ramp
primary
#2D5DAF
secondary
#C5A773
accent
#A846E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82