#2D4F97#2D4F97
#2D4F97 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.125 H 263.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4F97 |
|---|---|
| RGB | rgb(45, 79, 151) |
| HSL | hsl(221, 54%, 38%) |
| HSV | hsv(221, 70%, 59%) |
| CMYK | cmyk(70.2%, 47.7%, 0%, 40.8%) |
| CIE-LAB | lab(34.77, 12.90, -43.17) |
| CIE-LCH | lch(34.77, 45.06, 286.64°) |
| OKLab | oklab(44.2% -0.0147 -0.1237) |
| OKLCH | oklch(44.2% 0.125 263.2) |
| XYZ | xyz(9.4621, 8.3833, 30.3916) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.63
Dusk Blue
#26538D
ΔE00 3.04
Cobalt
#0047AB
ΔE00 4.04
Denim Blue
#3B5B92
ΔE00 4.13
Sapphire
#0F52BA
ΔE00 4.62
Light Navy
#155084
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4F97 #97752D
analogous
#2D8497 #2D4F97 #402D97
triadic
#2D4F97 #972D4F #4F972D
tetradic
#2D4F97 #972D84 #97752D #2D9740
square
#2D4F97 #972D84 #97752D #2D9740
split-complementary
#2D4F97 #97402D #84972D
monochromatic
#111E39 #1F3668 #2D4F97 #3C68C5 #6B8DD3
Accessibility & contrast
On white
7.85
#2D4F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2D4F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4F97
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4F97 | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#134D96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2d4f97; /* rgb */ color: rgb(45, 79, 151); /* oklch */ color: oklch(44.2% 0.125 263.2);
Tailwind
colors: {
custom: {
50: '#737fb6',
500: '#2d4f97',
950: '#000000',
},
}SCSS
$custom: #2d4f97; $custom-light: #737fb6; $custom-dark: #000000;
JSON
{
"hex": "#2d4f97",
"rgb": {
"r": 45,
"g": 79,
"b": 151
},
"hsl": {
"h": 220.755,
"s": 54.082,
"l": 38.431
},
"oklch": {
"l": 0.44202,
"c": 0.12453,
"h": 263.2
},
"luminance": 0.08384
}Semantic roles & 50–950 ramp
primary
#2D4F97
secondary
#BA9F66
accent
#AE4ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80