#2D4FAF#2D4FAF
#2D4FAF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.158 H 265.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4FAF |
|---|---|
| RGB | rgb(45, 79, 175) |
| HSL | hsl(224, 59%, 43%) |
| HSV | hsv(224, 74%, 69%) |
| CMYK | cmyk(74.3%, 54.9%, 0%, 31.4%) |
| CIE-LAB | lab(36.45, 22.03, -54.84) |
| CIE-LCH | lch(36.45, 59.10, 291.89°) |
| OKLab | oklab(46.02% -0.0119 -0.158) |
| OKLCH | oklch(46.02% 0.158 265.7) |
| XYZ | xyz(11.6133, 9.2437, 41.7213) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.67
Cobalt
#0047AB
ΔE00 3.32
Cobalt (survey)
#1E488F
ΔE00 5.15
Blue Blue
#2242C7
ΔE00 5.44
Dusk Blue
#26538D
ΔE00 5.66
Denim Blue
#3B5B92
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4FAF #AF8D2D
analogous
#2D90AF #2D4FAF #4C2DAF
triadic
#2D4FAF #AF2D4F #4FAF2D
tetradic
#2D4FAF #AF2D90 #AF8D2D #2DAF4C
square
#2D4FAF #AF2D90 #AF8D2D #2DAF4C
split-complementary
#2D4FAF #AF4C2D #90AF2D
monochromatic
#14234E #20397E #2D4FAF #496CD0 #7A94DD
Accessibility & contrast
On white
7.37
#2D4FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2D4FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4FAF
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4FAF | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2d4faf; /* rgb */ color: rgb(45, 79, 175); /* oklch */ color: oklch(46.0% 0.158 265.7);
Tailwind
colors: {
custom: {
50: '#787fc8',
500: '#2d4faf',
950: '#000000',
},
}SCSS
$custom: #2d4faf; $custom-light: #787fc8; $custom-dark: #000000;
JSON
{
"hex": "#2d4faf",
"rgb": {
"r": 45,
"g": 79,
"b": 175
},
"hsl": {
"h": 224.308,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.46016,
"c": 0.15843,
"h": 265.7
},
"luminance": 0.09245
}Semantic roles & 50–950 ramp
primary
#2D4FAF
secondary
#C5AF73
accent
#B946E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82