#28346F#28346F
#28346F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.103 H 271.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #28346F |
|---|---|
| RGB | rgb(40, 52, 111) |
| HSL | hsl(230, 47%, 30%) |
| HSV | hsv(230, 64%, 44%) |
| CMYK | cmyk(64%, 53.2%, 0%, 56.5%) |
| CIE-LAB | lab(23.85, 15.22, -35.85) |
| CIE-LCH | lch(23.85, 38.94, 293.00°) |
| OKLab | oklab(34.93% 0.0027 -0.1026) |
| OKLCH | oklch(34.93% 0.103 271.5) |
| XYZ | xyz(4.9714, 4.0544, 15.5564) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.17
Marine Blue
#01386A
ΔE00 6.42
Navy Blue
#1B2A4A
ΔE00 7.10
Darkslateblue
#483D8B
ΔE00 7.15
Darkish Blue
#014182
ΔE00 7.55
Blueberry
#464196
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28346F #6F6328
analogous
#28586F #28346F #40286F
triadic
#28346F #6F2834 #346F28
tetradic
#28346F #6F2858 #6F6328 #286F40
square
#28346F #6F2858 #6F6328 #286F40
split-complementary
#28346F #6F4028 #586F28
monochromatic
#080B16 #181F42 #28346F #38499C #5164C0
Accessibility & contrast
On white
11.60
#28346F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#28346F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28346F
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28346F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28346F | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#04366E
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #28346f; /* rgb */ color: rgb(40, 52, 111); /* oklch */ color: oklch(34.9% 0.103 271.5);
Tailwind
colors: {
custom: {
50: '#6a6b99',
500: '#28346f',
950: '#000000',
},
}SCSS
$custom: #28346f; $custom-light: #6a6b99; $custom-dark: #000000;
JSON
{
"hex": "#28346f",
"rgb": {
"r": 40,
"g": 52,
"b": 111
},
"hsl": {
"h": 229.859,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.34927,
"c": 0.10267,
"h": 271.5
},
"luminance": 0.04055
}Semantic roles & 50–950 ramp
primary
#28346F
secondary
#A19451
accent
#C051D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E