#303CC5#303CC5

#303CC5 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.6% C 0.209 H 270.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#303CC5
RGBrgb(48, 60, 197)
HSLhsl(235, 61%, 48%)
HSVhsv(235, 76%, 77%)
CMYKcmyk(75.6%, 69.5%, 0%, 22.7%)
CIE-LABlab(33.75, 42.56, -72.19)
CIE-LCHlch(33.75, 83.81, 300.52°)
OKLaboklab(44.64% 0.0027 -0.209)
OKLCHoklch(44.64% 0.209 270.7)
XYZxyz(12.9094, 7.8899, 53.6550)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303CC5 #C5B930
analogous
#3086C5 #303CC5 #6F30C5
triadic
#303CC5 #C5303C #3CC530
tetradic
#303CC5 #C53086 #C5B930 #30C56F
square
#303CC5 #C53086 #C5B930 #30C56F
split-complementary
#303CC5 #C56F30 #86C530
monochromatic
#181E63 #242D94 #303CC5 #5B65D7 #8C93E3

Accessibility & contrast

On white

8.15
#303CC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#303CC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303CC5
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303CC5#FFFFFF#000000##FFFFFF
##303CC51.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0048C2
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #303cc5;
/* rgb */ color: rgb(48, 60, 197);
/* oklch */ color: oklch(44.6% 0.209 270.7);
Tailwind
colors: {
  custom: {
    50: '#8072d8',
    500: '#303cc5',
    950: '#000000',
  },
}
SCSS
$custom: #303cc5;
$custom-light: #8072d8;
$custom-dark: #000000;
JSON
{
  "hex": "#303cc5",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 235.168,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44639,
    "c": 0.20898,
    "h": 270.7
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #303CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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