#303C95#303C95
#303C95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.145 H 272.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #303C95 |
|---|---|
| RGB | rgb(48, 60, 149) |
| HSL | hsl(233, 51%, 39%) |
| HSV | hsv(233, 68%, 58%) |
| CMYK | cmyk(67.8%, 59.7%, 0%, 41.6%) |
| CIE-LAB | lab(29.49, 25.39, -50.49) |
| CIE-LCH | lch(29.49, 56.51, 296.70°) |
| OKLab | oklab(40.21% 0.0057 -0.1454) |
| OKLCH | oklch(40.21% 0.146 272.3) |
| XYZ | xyz(8.2578, 6.0293, 29.1565) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.63
Sapphire (survey)
#2138AB
ΔE00 3.65
Darkslateblue
#483D8B
ΔE00 4.80
Cobalt
#0047AB
ΔE00 6.06
Cobalt (survey)
#1E488F
ΔE00 6.17
Ocean Blue
#4F42B5
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303C95 #958930
analogous
#306E95 #303C95 #563095
triadic
#303C95 #95303C #3C9530
tetradic
#303C95 #95306E #958930 #309556
square
#303C95 #95306E #958930 #309556
split-complementary
#303C95 #955630 #6E9530
monochromatic
#121738 #212967 #303C95 #4150C2 #6F7AD1
Accessibility & contrast
On white
9.52
#303C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#303C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303C95
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303C95 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #303c95; /* rgb */ color: rgb(48, 60, 149); /* oklch */ color: oklch(40.2% 0.145 272.3);
Tailwind
colors: {
custom: {
50: '#7571b5',
500: '#303c95',
950: '#000000',
},
}SCSS
$custom: #303c95; $custom-light: #7571b5; $custom-dark: #000000;
JSON
{
"hex": "#303c95",
"rgb": {
"r": 48,
"g": 60,
"b": 149
},
"hsl": {
"h": 232.871,
"s": 51.269,
"l": 38.627
},
"oklch": {
"l": 0.40207,
"c": 0.1455,
"h": 272.3
},
"luminance": 0.0603
}Semantic roles & 50–950 ramp
primary
#303C95
secondary
#B8AF69
accent
#CA4DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80