#303A8F#303A8F
#303A8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.140 H 273.1°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #303A8F |
|---|---|
| RGB | rgb(48, 58, 143) |
| HSL | hsl(234, 50%, 37%) |
| HSV | hsv(234, 66%, 56%) |
| CMYK | cmyk(66.4%, 59.4%, 0%, 43.9%) |
| CIE-LAB | lab(28.48, 24.53, -48.44) |
| CIE-LCH | lch(28.48, 54.30, 296.85°) |
| OKLab | oklab(39.31% 0.0075 -0.1394) |
| OKLCH | oklch(39.31% 0.14 273.1) |
| XYZ | xyz(7.6883, 5.6370, 26.6642) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.83
Sapphire (survey)
#2138AB
ΔE00 4.37
Darkslateblue
#483D8B
ΔE00 4.48
Cobalt (survey)
#1E488F
ΔE00 6.57
Cobalt
#0047AB
ΔE00 6.89
Darkish Blue
#014182
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303A8F #8F8530
analogous
#306A8F #303A8F #55308F
triadic
#303A8F #8F303A #3A8F30
tetradic
#303A8F #8F306A #8F8530 #308F55
square
#303A8F #8F306A #8F8530 #308F55
split-complementary
#303A8F #8F5530 #6A8F30
monochromatic
#111533 #212761 #303A8F #3F4DBD #6C76CE
Accessibility & contrast
On white
9.87
#303A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#303A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303A8F
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303A8F | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #303a8f; /* rgb */ color: rgb(48, 58, 143); /* oklch */ color: oklch(39.3% 0.140 273.1);
Tailwind
colors: {
custom: {
50: '#7470b0',
500: '#303a8f',
950: '#000000',
},
}SCSS
$custom: #303a8f; $custom-light: #7470b0; $custom-dark: #000000;
JSON
{
"hex": "#303a8f",
"rgb": {
"r": 48,
"g": 58,
"b": 143
},
"hsl": {
"h": 233.684,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.39306,
"c": 0.1396,
"h": 273.1
},
"luminance": 0.05638
}Semantic roles & 50–950 ramp
primary
#303A8F
secondary
#B5AD66
accent
#CB4FD9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80