#2D3192#2D3192
#2D3192 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.156 H 274.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3192 |
|---|---|
| RGB | rgb(45, 49, 146) |
| HSL | hsl(238, 53%, 37%) |
| HSV | hsv(238, 69%, 57%) |
| CMYK | cmyk(69.2%, 66.4%, 0%, 42.7%) |
| CIE-LAB | lab(26.24, 31.10, -53.94) |
| CIE-LCH | lch(26.24, 62.27, 299.97°) |
| OKLab | oklab(37.69% 0.0115 -0.1557) |
| OKLCH | oklch(37.69% 0.156 274.2) |
| XYZ | xyz(7.3671, 4.8292, 27.7324) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.11
Blueberry
#464196
ΔE00 5.36
Darkslateblue
#483D8B
ΔE00 5.49
Royal
#0C1793
ΔE00 6.58
Indigo Blue
#3A18B1
ΔE00 7.48
Midnight Blue
#191970
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3192 #928E2D
analogous
#2D6392 #2D3192 #5C2D92
triadic
#2D3192 #922D31 #31922D
tetradic
#2D3192 #922D63 #928E2D #2D925C
square
#2D3192 #922D63 #928E2D #2D925C
split-complementary
#2D3192 #925C2D #63922D
monochromatic
#101234 #1F2163 #2D3192 #3B41C1 #696DD1
Accessibility & contrast
On white
10.68
#2D3192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2D3192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3192
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3192 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2d3192; /* rgb */ color: rgb(45, 49, 146); /* oklch */ color: oklch(37.7% 0.156 274.2);
Tailwind
colors: {
custom: {
50: '#7469b3',
500: '#2d3192',
950: '#000000',
},
}SCSS
$custom: #2d3192; $custom-light: #7469b3; $custom-dark: #000000;
JSON
{
"hex": "#2d3192",
"rgb": {
"r": 45,
"g": 49,
"b": 146
},
"hsl": {
"h": 237.624,
"s": 52.88,
"l": 37.451
},
"oklch": {
"l": 0.37688,
"c": 0.15613,
"h": 274.2
},
"luminance": 0.0483
}Semantic roles & 50–950 ramp
primary
#2D3192
secondary
#B7B463
accent
#D74CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80