#2D4897#2D4897
#2D4897 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.134 H 266.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4897 |
|---|---|
| RGB | rgb(45, 72, 151) |
| HSL | hsl(225, 54%, 38%) |
| HSV | hsv(225, 70%, 59%) |
| CMYK | cmyk(70.2%, 52.3%, 0%, 40.8%) |
| CIE-LAB | lab(32.76, 17.59, -46.41) |
| CIE-LCH | lch(32.76, 49.63, 290.76°) |
| OKLab | oklab(42.67% -0.0081 -0.1333) |
| OKLCH | oklch(42.67% 0.134 266.5) |
| XYZ | xyz(8.9835, 7.4261, 30.2321) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.62
Cobalt
#0047AB
ΔE00 3.54
Dusk Blue
#26538D
ΔE00 5.30
Darkish Blue
#014182
ΔE00 5.37
Sapphire
#0F52BA
ΔE00 5.78
Blueberry
#464196
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4897 #977C2D
analogous
#2D7D97 #2D4897 #472D97
triadic
#2D4897 #972D48 #48972D
tetradic
#2D4897 #972D7D #977C2D #2D9747
square
#2D4897 #972D7D #977C2D #2D9747
split-complementary
#2D4897 #97472D #7D972D
monochromatic
#111B39 #1F3268 #2D4897 #3C5FC5 #6B86D3
Accessibility & contrast
On white
8.45
#2D4897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2D4897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4897
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4897 | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2d4897; /* rgb */ color: rgb(45, 72, 151); /* oklch */ color: oklch(42.7% 0.134 266.5);
Tailwind
colors: {
custom: {
50: '#737ab6',
500: '#2d4897',
950: '#000000',
},
}SCSS
$custom: #2d4897; $custom-light: #737ab6; $custom-dark: #000000;
JSON
{
"hex": "#2d4897",
"rgb": {
"r": 45,
"g": 72,
"b": 151
},
"hsl": {
"h": 224.717,
"s": 54.082,
"l": 38.431
},
"oklch": {
"l": 0.42668,
"c": 0.13355,
"h": 266.5
},
"luminance": 0.07427
}Semantic roles & 50–950 ramp
primary
#2D4897
secondary
#BAA566
accent
#B84ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80