#303A9F#303A9F
#303A9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.162 H 272.5°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #303A9F |
|---|---|
| RGB | rgb(48, 58, 159) |
| HSL | hsl(235, 54%, 41%) |
| HSV | hsv(235, 70%, 62%) |
| CMYK | cmyk(69.8%, 63.5%, 0%, 37.6%) |
| CIE-LAB | lab(29.80, 30.36, -56.06) |
| CIE-LCH | lch(29.80, 63.75, 298.44°) |
| OKLab | oklab(40.7% 0.0072 -0.1618) |
| OKLCH | oklch(40.7% 0.162 272.5) |
| XYZ | xyz(8.9879, 6.1568, 33.5089) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.12
Blueberry
#464196
ΔE00 4.02
Darkslateblue
#483D8B
ΔE00 5.41
Ocean Blue
#4F42B5
ΔE00 5.66
Blue Blue
#2242C7
ΔE00 5.77
Cobalt
#0047AB
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303A9F #9F9530
analogous
#30719F #303A9F #5E309F
triadic
#303A9F #9F303A #3A9F30
tetradic
#303A9F #9F3071 #9F9530 #309F5E
square
#303A9F #9F3071 #9F9530 #309F5E
split-complementary
#303A9F #9F5E30 #719F30
monochromatic
#141841 #222970 #303A9F #4551C7 #747DD5
Accessibility & contrast
On white
9.41
#303A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#303A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303A9F
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303A9F | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #303a9f; /* rgb */ color: rgb(48, 58, 159); /* oklch */ color: oklch(40.7% 0.162 272.5);
Tailwind
colors: {
custom: {
50: '#7770bc',
500: '#303a9f',
950: '#000000',
},
}SCSS
$custom: #303a9f; $custom-light: #7770bc; $custom-dark: #000000;
JSON
{
"hex": "#303a9f",
"rgb": {
"r": 48,
"g": 58,
"b": 159
},
"hsl": {
"h": 234.595,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.40702,
"c": 0.16193,
"h": 272.5
},
"luminance": 0.06158
}Semantic roles & 50–950 ramp
primary
#303A9F
secondary
#BDB66E
accent
#D04BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81