#303C99#303C99
#303C99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.151 H 272.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #303C99 |
|---|---|
| RGB | rgb(48, 60, 153) |
| HSL | hsl(233, 52%, 39%) |
| HSV | hsv(233, 69%, 60%) |
| CMYK | cmyk(68.6%, 60.8%, 0%, 40%) |
| CIE-LAB | lab(29.81, 26.86, -52.40) |
| CIE-LCH | lch(29.81, 58.88, 297.14°) |
| OKLab | oklab(40.55% 0.0057 -0.151) |
| OKLCH | oklch(40.55% 0.151 272.2) |
| XYZ | xyz(8.5826, 6.1592, 30.8674) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.09
Blueberry
#464196
ΔE00 3.65
Darkslateblue
#483D8B
ΔE00 5.01
Cobalt
#0047AB
ΔE00 5.89
Ocean Blue
#4F42B5
ΔE00 6.28
Cobalt (survey)
#1E488F
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303C99 #998D30
analogous
#307199 #303C99 #593099
triadic
#303C99 #99303C #3C9930
tetradic
#303C99 #993071 #998D30 #309959
square
#303C99 #993071 #998D30 #309959
split-complementary
#303C99 #995930 #719930
monochromatic
#13173C #212A6A #303C99 #4251C4 #717CD2
Accessibility & contrast
On white
9.41
#303C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#303C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303C99
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303C99 | 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)
#004B9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #303c99; /* rgb */ color: rgb(48, 60, 153); /* oklch */ color: oklch(40.5% 0.151 272.2);
Tailwind
colors: {
custom: {
50: '#7671b8',
500: '#303c99',
950: '#000000',
},
}SCSS
$custom: #303c99; $custom-light: #7671b8; $custom-dark: #000000;
JSON
{
"hex": "#303c99",
"rgb": {
"r": 48,
"g": 60,
"b": 153
},
"hsl": {
"h": 233.143,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.40549,
"c": 0.15113,
"h": 272.2
},
"luminance": 0.0616
}Semantic roles & 50–950 ramp
primary
#303C99
secondary
#BAB16B
accent
#CB4CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80