#303DB6#303DB6

#303DB6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.189 H 271.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#303DB6
RGBrgb(48, 61, 182)
HSLhsl(234, 58%, 45%)
HSVhsv(234, 74%, 71%)
CMYKcmyk(73.6%, 66.5%, 0%, 28.6%)
CIE-LABlab(32.57, 36.69, -65.30)
CIE-LCHlch(32.57, 74.91, 299.33°)
OKLaboklab(43.36% 0.0036 -0.1888)
OKLCHoklch(43.36% 0.189 271.1)
XYZxyz(11.3283, 7.3421, 45.0670)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303DB6 #B6A930
analogous
#3080B6 #303DB6 #6630B6
triadic
#303DB6 #B6303D #3DB630
tetradic
#303DB6 #B63080 #B6A930 #30B666
square
#303DB6 #B63080 #B6A930 #30B666
split-complementary
#303DB6 #B66630 #80B630
monochromatic
#161D55 #232D86 #303DB6 #525ED1 #828BDE

Accessibility & contrast

On white

8.51
#303DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#303DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303DB6
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303DB6#FFFFFF#000000##FFFFFF
##303DB61.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #303db6;
/* rgb */ color: rgb(48, 61, 182);
/* oklch */ color: oklch(43.4% 0.189 271.1);
Tailwind
colors: {
  custom: {
    50: '#7c73cd',
    500: '#303db6',
    950: '#000000',
  },
}
SCSS
$custom: #303db6;
$custom-light: #7c73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#303db6",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 234.179,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43357,
    "c": 0.18886,
    "h": 271.1
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#303DB6
secondary
#C7C07B
accent
#D246E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #303DB6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#303DB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva