#2D4281#2D4281
#2D4281 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.7% C 0.109 H 267.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4281 |
|---|---|
| RGB | rgb(45, 66, 129) |
| HSL | hsl(225, 48%, 34%) |
| HSV | hsv(225, 65%, 51%) |
| CMYK | cmyk(65.1%, 48.8%, 0%, 49.4%) |
| CIE-LAB | lab(29.51, 13.34, -38.11) |
| CIE-LCH | lch(29.51, 40.38, 289.29°) |
| OKLab | oklab(39.71% -0.0049 -0.109) |
| OKLCH | oklch(39.71% 0.109 267.4) |
| XYZ | xyz(6.9915, 6.0387, 21.5618) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.81
Darkish Blue
#014182
ΔE00 4.64
Twilight Blue
#0A437A
ΔE00 5.24
Blueberry
#464196
ΔE00 6.22
Marine Blue
#01386A
ΔE00 6.24
Cobalt
#0047AB
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4281 #816C2D
analogous
#2D6C81 #2D4281 #422D81
triadic
#2D4281 #812D42 #42812D
tetradic
#2D4281 #812D6C #816C2D #2D8142
square
#2D4281 #812D6C #816C2D #2D8142
split-complementary
#2D4281 #81422D #6C812D
monochromatic
#0D1426 #1D2B54 #2D4281 #3D59AE #617AC8
Accessibility & contrast
On white
9.51
#2D4281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2D4281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4281
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4281 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224A83
Deuteranopia (green-blind)
#134280
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2d4281; /* rgb */ color: rgb(45, 66, 129); /* oklch */ color: oklch(39.7% 0.109 267.4);
Tailwind
colors: {
custom: {
50: '#6f76a6',
500: '#2d4281',
950: '#000000',
},
}SCSS
$custom: #2d4281; $custom-light: #6f76a6; $custom-dark: #000000;
JSON
{
"hex": "#2d4281",
"rgb": {
"r": 45,
"g": 66,
"b": 129
},
"hsl": {
"h": 225,
"s": 48.276,
"l": 34.118
},
"oklch": {
"l": 0.3971,
"c": 0.10908,
"h": 267.4
},
"luminance": 0.06039
}Semantic roles & 50–950 ramp
primary
#2D4281
secondary
#AE9A5C
accent
#B650D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F