#303DC1#303DC1

#303DC1 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.4% C 0.203 H 270.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#303DC1
RGBrgb(48, 61, 193)
HSLhsl(235, 60%, 47%)
HSVhsv(235, 75%, 76%)
CMYKcmyk(75.1%, 68.4%, 0%, 24.3%)
CIE-LABlab(33.59, 40.57, -70.11)
CIE-LCHlch(33.59, 81.00, 300.06°)
OKLaboklab(44.41% 0.0026 -0.2029)
OKLCHoklch(44.41% 0.203 270.7)
XYZxyz(12.5100, 7.8148, 51.2908)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303DC1 #C1B430
analogous
#3085C1 #303DC1 #6C30C1
triadic
#303DC1 #C1303D #3DC130
tetradic
#303DC1 #C13085 #C1B430 #30C16C
square
#303DC1 #C13085 #C1B430 #30C16C
split-complementary
#303DC1 #C16C30 #85C130
monochromatic
#181E5F #242E90 #303DC1 #5964D6 #8A92E2

Accessibility & contrast

On white

8.19
#303DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#303DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303DC1
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303DC1#FFFFFF#000000##FFFFFF
##303DC11.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C5
Deuteranopia (green-blind)
#0048BF
Tritanopia (blue-blind)
#00617A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #303dc1;
/* rgb */ color: rgb(48, 61, 193);
/* oklch */ color: oklch(44.4% 0.203 270.7);
Tailwind
colors: {
  custom: {
    50: '#7f73d5',
    500: '#303dc1',
    950: '#000000',
  },
}
SCSS
$custom: #303dc1;
$custom-light: #7f73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#303dc1",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 234.621,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44409,
    "c": 0.2029,
    "h": 270.7
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

primary
#303DC1
secondary
#CCC581
accent
#D544E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #303DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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