#2D498F#2D498F
#2D498F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.121 H 265.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2D498F |
|---|---|
| RGB | rgb(45, 73, 143) |
| HSL | hsl(223, 52%, 37%) |
| HSV | hsv(223, 69%, 56%) |
| CMYK | cmyk(68.5%, 49%, 0%, 43.9%) |
| CIE-LAB | lab(32.49, 13.88, -41.96) |
| CIE-LCH | lch(32.49, 44.20, 288.31°) |
| OKLab | oklab(42.29% -0.0101 -0.1202) |
| OKLCH | oklch(42.29% 0.121 265.2) |
| XYZ | xyz(8.4209, 7.3053, 26.9476) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.94
Cobalt
#0047AB
ΔE00 4.35
Dusk Blue
#26538D
ΔE00 4.54
Darkish Blue
#014182
ΔE00 4.69
Twilight Blue
#0A437A
ΔE00 5.26
Denim Blue
#3B5B92
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D498F #8F732D
analogous
#2D7A8F #2D498F #422D8F
triadic
#2D498F #8F2D49 #498F2D
tetradic
#2D498F #8F2D7A #8F732D #2D8F42
square
#2D498F #8F2D7A #8F732D #2D8F42
split-complementary
#2D498F #8F422D #7A8F2D
monochromatic
#101932 #1E3160 #2D498F #3C61BE #6785CF
Accessibility & contrast
On white
8.53
#2D498F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2D498F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D498F
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D498F | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#0E488E
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2d498f; /* rgb */ color: rgb(45, 73, 143); /* oklch */ color: oklch(42.3% 0.121 265.2);
Tailwind
colors: {
custom: {
50: '#727bb0',
500: '#2d498f',
950: '#000000',
},
}SCSS
$custom: #2d498f; $custom-light: #727bb0; $custom-dark: #000000;
JSON
{
"hex": "#2d498f",
"rgb": {
"r": 45,
"g": 73,
"b": 143
},
"hsl": {
"h": 222.857,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.42289,
"c": 0.12062,
"h": 265.2
},
"luminance": 0.07306
}Semantic roles & 50–950 ramp
primary
#2D498F
secondary
#B69E62
accent
#B34CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F