#303DC5#303DC5

#303DC5 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.8% C 0.208 H 270.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#303DC5
RGBrgb(48, 61, 197)
HSLhsl(235, 61%, 48%)
HSVhsv(235, 76%, 77%)
CMYKcmyk(75.6%, 69%, 0%, 22.7%)
CIE-LABlab(33.97, 41.96, -71.83)
CIE-LCHlch(33.97, 83.19, 300.29°)
OKLaboklab(44.8% 0.0022 -0.2079)
OKLCHoklch(44.8% 0.208 270.6)
XYZxyz(12.9623, 7.9957, 53.6727)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303DC5 #C5B830
analogous
#3087C5 #303DC5 #6D30C5
triadic
#303DC5 #C5303D #3DC530
tetradic
#303DC5 #C53087 #C5B830 #30C56D
square
#303DC5 #C53087 #C5B830 #30C56D
split-complementary
#303DC5 #C56D30 #87C530
monochromatic
#181F63 #242E94 #303DC5 #5B66D7 #8C94E3

Accessibility & contrast

On white

8.08
#303DC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#303DC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303DC5
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303DC5#FFFFFF#000000##FFFFFF
##303DC51.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0049C3
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #303dc5;
/* rgb */ color: rgb(48, 61, 197);
/* oklch */ color: oklch(44.8% 0.208 270.6);
Tailwind
colors: {
  custom: {
    50: '#8073d8',
    500: '#303dc5',
    950: '#000000',
  },
}
SCSS
$custom: #303dc5;
$custom-light: #8073d8;
$custom-dark: #000000;
JSON
{
  "hex": "#303dc5",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 234.765,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44799,
    "c": 0.2079,
    "h": 270.6
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#303DC5
secondary
#CDC784
accent
#D644E4
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #303DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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