#2D4392#2D4392
#2D4392 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.2% C 0.133 H 268.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4392 |
|---|---|
| RGB | rgb(45, 67, 146) |
| HSL | hsl(227, 53%, 37%) |
| HSV | hsv(227, 69%, 57%) |
| CMYK | cmyk(69.2%, 54.1%, 0%, 42.7%) |
| CIE-LAB | lab(30.99, 19.08, -46.22) |
| CIE-LCH | lch(30.99, 50.00, 292.43°) |
| OKLab | oklab(41.21% -0.0039 -0.1328) |
| OKLCH | oklch(41.21% 0.133 268.3) |
| XYZ | xyz(8.2759, 6.6467, 28.0354) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.50
Cobalt
#0047AB
ΔE00 4.51
Blueberry
#464196
ΔE00 4.89
Darkish Blue
#014182
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 5.46
Darkslateblue
#483D8B
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4392 #927C2D
analogous
#2D7592 #2D4392 #4A2D92
triadic
#2D4392 #922D43 #43922D
tetradic
#2D4392 #922D75 #927C2D #2D924A
square
#2D4392 #922D75 #927C2D #2D924A
split-complementary
#2D4392 #924A2D #75922D
monochromatic
#101834 #1F2E63 #2D4392 #3B58C1 #697FD1
Accessibility & contrast
On white
9.01
#2D4392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2D4392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4392
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4392 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D4E95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2d4392; /* rgb */ color: rgb(45, 67, 146); /* oklch */ color: oklch(41.2% 0.133 268.3);
Tailwind
colors: {
custom: {
50: '#7276b3',
500: '#2d4392',
950: '#000000',
},
}SCSS
$custom: #2d4392; $custom-light: #7276b3; $custom-dark: #000000;
JSON
{
"hex": "#2d4392",
"rgb": {
"r": 45,
"g": 67,
"b": 146
},
"hsl": {
"h": 226.931,
"s": 52.88,
"l": 37.451
},
"oklch": {
"l": 0.41214,
"c": 0.13289,
"h": 268.3
},
"luminance": 0.06648
}Semantic roles & 50–950 ramp
primary
#2D4392
secondary
#B7A563
accent
#BD4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80