#303B8F#303B8F
#303B8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.138 H 272.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #303B8F |
|---|---|
| RGB | rgb(48, 59, 143) |
| HSL | hsl(233, 50%, 37%) |
| HSV | hsv(233, 66%, 56%) |
| CMYK | cmyk(66.4%, 58.7%, 0%, 43.9%) |
| CIE-LAB | lab(28.74, 23.85, -48.01) |
| CIE-LCH | lch(28.74, 53.61, 296.42°) |
| OKLab | oklab(39.5% 0.0066 -0.1381) |
| OKLCH | oklch(39.5% 0.138 272.7) |
| XYZ | xyz(7.7392, 5.7388, 26.6811) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.80
Sapphire (survey)
#2138AB
ΔE00 4.45
Darkslateblue
#483D8B
ΔE00 4.53
Cobalt (survey)
#1E488F
ΔE00 6.26
Cobalt
#0047AB
ΔE00 6.66
Darkish Blue
#014182
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303B8F #8F8430
analogous
#306A8F #303B8F #55308F
triadic
#303B8F #8F303B #3B8F30
tetradic
#303B8F #8F306A #8F8430 #308F55
square
#303B8F #8F306A #8F8430 #308F55
split-complementary
#303B8F #8F5530 #6A8F30
monochromatic
#111533 #212861 #303B8F #3F4EBD #6C77CE
Accessibility & contrast
On white
9.78
#303B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#303B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303B8F
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303B8F | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #303b8f; /* rgb */ color: rgb(48, 59, 143); /* oklch */ color: oklch(39.5% 0.138 272.7);
Tailwind
colors: {
custom: {
50: '#7470b0',
500: '#303b8f',
950: '#000000',
},
}SCSS
$custom: #303b8f; $custom-light: #7470b0; $custom-dark: #000000;
JSON
{
"hex": "#303b8f",
"rgb": {
"r": 48,
"g": 59,
"b": 143
},
"hsl": {
"h": 233.053,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.39504,
"c": 0.13828,
"h": 272.7
},
"luminance": 0.05739
}Semantic roles & 50–950 ramp
primary
#303B8F
secondary
#B5AC66
accent
#C94FD9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80