#303E9F#303E9F
#303E9F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.157 H 271.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #303E9F |
|---|---|
| RGB | rgb(48, 62, 159) |
| HSL | hsl(232, 54%, 41%) |
| HSV | hsv(232, 70%, 62%) |
| CMYK | cmyk(69.8%, 61%, 0%, 37.6%) |
| CIE-LAB | lab(30.82, 27.74, -54.40) |
| CIE-LCH | lch(30.82, 61.06, 297.02°) |
| OKLab | oklab(41.45% 0.004 -0.1569) |
| OKLCH | oklch(41.45% 0.157 271.5) |
| XYZ | xyz(9.1974, 6.5759, 33.5787) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.68
Blueberry
#464196
ΔE00 3.82
Cobalt
#0047AB
ΔE00 5.23
Blue Blue
#2242C7
ΔE00 5.47
Darkslateblue
#483D8B
ΔE00 5.55
Ocean Blue
#4F42B5
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303E9F #9F9130
analogous
#30769F #303E9F #59309F
triadic
#303E9F #9F303E #3E9F30
tetradic
#303E9F #9F3076 #9F9130 #309F59
square
#303E9F #9F3076 #9F9130 #309F59
split-complementary
#303E9F #9F5930 #769F30
monochromatic
#141941 #222C70 #303E9F #4556C7 #7480D5
Accessibility & contrast
On white
9.07
#303E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#303E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303E9F
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303E9F | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #303e9f; /* rgb */ color: rgb(48, 62, 159); /* oklch */ color: oklch(41.5% 0.157 271.5);
Tailwind
colors: {
custom: {
50: '#7773bc',
500: '#303e9f',
950: '#000000',
},
}SCSS
$custom: #303e9f; $custom-light: #7773bc; $custom-dark: #000000;
JSON
{
"hex": "#303e9f",
"rgb": {
"r": 48,
"g": 62,
"b": 159
},
"hsl": {
"h": 232.432,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.41452,
"c": 0.15691,
"h": 271.5
},
"luminance": 0.06577
}Semantic roles & 50–950 ramp
primary
#303E9F
secondary
#BDB36E
accent
#CB4BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81