#303DC9#303DC9

#303DC9 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.2% C 0.213 H 270.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#303DC9
RGBrgb(48, 61, 201)
HSLhsl(235, 61%, 49%)
HSVhsv(235, 76%, 79%)
CMYKcmyk(76.1%, 69.7%, 0%, 21.2%)
CIE-LABlab(34.36, 43.34, -73.53)
CIE-LCHlch(34.36, 85.35, 300.52°)
OKLaboklab(45.19% 0.0018 -0.2129)
OKLCHoklch(45.19% 0.213 270.5)
XYZxyz(13.4267, 8.1814, 56.1186)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303DC9 #C9BC30
analogous
#308AC9 #303DC9 #7030C9
triadic
#303DC9 #C9303D #3DC930
tetradic
#303DC9 #C9308A #C9BC30 #30C970
square
#303DC9 #C9308A #C9BC30 #30C970
split-complementary
#303DC9 #C97030 #8AC930
monochromatic
#181F66 #242E98 #303DC9 #5E68D8 #8F96E4

Accessibility & contrast

On white

7.96
#303DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#303DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303DC9
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303DC9#FFFFFF#000000##FFFFFF
##303DC91.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #303dc9;
/* rgb */ color: rgb(48, 61, 201);
/* oklch */ color: oklch(45.2% 0.213 270.5);
Tailwind
colors: {
  custom: {
    50: '#8173db',
    500: '#303dc9',
    950: '#000000',
  },
}
SCSS
$custom: #303dc9;
$custom-light: #8173db;
$custom-dark: #000000;
JSON
{
  "hex": "#303dc9",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 234.902,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45192,
    "c": 0.21287,
    "h": 270.5
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#303DC9
secondary
#CFC986
accent
#D743E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #303DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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