#2D3F92#2D3F92
#2D3F92 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.138 H 269.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3F92 |
|---|---|
| RGB | rgb(45, 63, 146) |
| HSL | hsl(229, 53%, 37%) |
| HSV | hsv(229, 69%, 57%) |
| CMYK | cmyk(69.2%, 56.8%, 0%, 42.7%) |
| CIE-LAB | lab(29.88, 21.78, -48.02) |
| CIE-LCH | lch(29.88, 52.73, 294.40°) |
| OKLab | oklab(40.38% -0.0003 -0.1382) |
| OKLCH | oklch(40.38% 0.138 269.9) |
| XYZ | xyz(8.0462, 6.1875, 27.9588) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.27
Sapphire (survey)
#2138AB
ΔE00 4.56
Cobalt (survey)
#1E488F
ΔE00 4.75
Cobalt
#0047AB
ΔE00 5.25
Darkslateblue
#483D8B
ΔE00 5.50
Darkish Blue
#014182
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3F92 #92802D
analogous
#2D7292 #2D3F92 #4E2D92
triadic
#2D3F92 #922D3F #3F922D
tetradic
#2D3F92 #922D72 #92802D #2D924E
square
#2D3F92 #922D72 #92802D #2D924E
split-complementary
#2D3F92 #924E2D #72922D
monochromatic
#101734 #1F2B63 #2D3F92 #3B53C1 #697BD1
Accessibility & contrast
On white
9.39
#2D3F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2D3F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3F92
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3F92 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2d3f92; /* rgb */ color: rgb(45, 63, 146); /* oklch */ color: oklch(40.4% 0.138 269.9);
Tailwind
colors: {
custom: {
50: '#7373b3',
500: '#2d3f92',
950: '#000000',
},
}SCSS
$custom: #2d3f92; $custom-light: #7373b3; $custom-dark: #000000;
JSON
{
"hex": "#2d3f92",
"rgb": {
"r": 45,
"g": 63,
"b": 146
},
"hsl": {
"h": 229.307,
"s": 52.88,
"l": 37.451
},
"oklch": {
"l": 0.4038,
"c": 0.13816,
"h": 269.9
},
"luminance": 0.06188
}Semantic roles & 50–950 ramp
primary
#2D3F92
secondary
#B7A863
accent
#C24CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80