#2D4699#2D4699
#2D4699 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.139 H 267.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4699 |
|---|---|
| RGB | rgb(45, 70, 153) |
| HSL | hsl(226, 55%, 39%) |
| HSV | hsv(226, 71%, 60%) |
| CMYK | cmyk(70.6%, 54.2%, 0%, 40%) |
| CIE-LAB | lab(32.34, 19.70, -48.30) |
| CIE-LCH | lch(32.34, 52.16, 292.19°) |
| OKLab | oklab(42.4% -0.0061 -0.1389) |
| OKLCH | oklch(42.4% 0.139 267.5) |
| XYZ | xyz(9.0201, 7.2372, 31.0524) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.23
Cobalt
#0047AB
ΔE00 3.53
Blueberry
#464196
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.46
Darkish Blue
#014182
ΔE00 5.69
Sapphire
#0F52BA
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4699 #99802D
analogous
#2D7C99 #2D4699 #4A2D99
triadic
#2D4699 #992D46 #46992D
tetradic
#2D4699 #992D7C #99802D #2D994A
square
#2D4699 #992D7C #99802D #2D994A
split-complementary
#2D4699 #994A2D #7C992D
monochromatic
#111B3A #1F306A #2D4699 #3D5DC6 #6C84D4
Accessibility & contrast
On white
8.58
#2D4699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2D4699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4699
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4699 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B519C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2d4699; /* rgb */ color: rgb(45, 70, 153); /* oklch */ color: oklch(42.4% 0.139 267.5);
Tailwind
colors: {
custom: {
50: '#7479b8',
500: '#2d4699',
950: '#000000',
},
}SCSS
$custom: #2d4699; $custom-light: #7479b8; $custom-dark: #000000;
JSON
{
"hex": "#2d4699",
"rgb": {
"r": 45,
"g": 70,
"b": 153
},
"hsl": {
"h": 226.111,
"s": 54.545,
"l": 38.824
},
"oklch": {
"l": 0.42399,
"c": 0.13902,
"h": 267.5
},
"luminance": 0.07238
}Semantic roles & 50–950 ramp
primary
#2D4699
secondary
#BBA767
accent
#BC4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80