#303CBD#303CBD
#303CBD is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.9% C 0.199 H 271.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #303CBD |
|---|---|
| RGB | rgb(48, 60, 189) |
| HSL | hsl(235, 59%, 46%) |
| HSV | hsv(235, 75%, 74%) |
| CMYK | cmyk(74.6%, 68.3%, 0%, 25.9%) |
| CIE-LAB | lab(32.99, 39.79, -68.75) |
| CIE-LCH | lch(32.99, 79.43, 300.06°) |
| OKLab | oklab(43.86% 0.0036 -0.1989) |
| OKLCH | oklch(43.86% 0.199 271) |
| XYZ | xyz(12.0170, 7.5329, 48.9549) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.41
Sapphire (survey)
#2138AB
ΔE00 3.13
Ocean Blue
#4F42B5
ΔE00 4.06
Blue With A Hint Of Purple
#533CC6
ΔE00 4.62
Blue (survey)
#0343DF
ΔE00 4.73
Blurple
#5539CC
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303CBD #BDB130
analogous
#3083BD #303CBD #6B30BD
triadic
#303CBD #BD303C #3CBD30
tetradic
#303CBD #BD3083 #BDB130 #30BD6B
square
#303CBD #BD3083 #BDB130 #30BD6B
split-complementary
#303CBD #BD6B30 #83BD30
monochromatic
#171D5B #242D8C #303CBD #5661D4 #878FE0
Accessibility & contrast
On white
8.38
#303CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#303CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303CBD
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303CBD | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C1
Deuteranopia (green-blind)
#0047BB
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #303cbd; /* rgb */ color: rgb(48, 60, 189); /* oklch */ color: oklch(43.9% 0.199 271.0);
Tailwind
colors: {
custom: {
50: '#7e72d2',
500: '#303cbd',
950: '#000000',
},
}SCSS
$custom: #303cbd; $custom-light: #7e72d2; $custom-dark: #000000;
JSON
{
"hex": "#303cbd",
"rgb": {
"r": 48,
"g": 60,
"b": 189
},
"hsl": {
"h": 234.894,
"s": 59.494,
"l": 46.471
},
"oklch": {
"l": 0.43858,
"c": 0.19895,
"h": 271
},
"luminance": 0.07534
}Semantic roles & 50–950 ramp
primary
#303CBD
secondary
#CAC47F
accent
#D545E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83