#303BC5#303BC5

#303BC5 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.5% C 0.210 H 270.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#303BC5
RGBrgb(48, 59, 197)
HSLhsl(236, 61%, 48%)
HSVhsv(236, 76%, 77%)
CMYKcmyk(75.6%, 70.1%, 0%, 22.7%)
CIE-LABlab(33.53, 43.16, -72.55)
CIE-LCHlch(33.53, 84.42, 300.75°)
OKLaboklab(44.48% 0.0032 -0.21)
OKLCHoklch(44.48% 0.21 270.9)
XYZxyz(12.8575, 7.7861, 53.6377)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303BC5 #C5BA30
analogous
#3086C5 #303BC5 #6F30C5
triadic
#303BC5 #C5303B #3BC530
tetradic
#303BC5 #C53086 #C5BA30 #30C56F
square
#303BC5 #C53086 #C5BA30 #30C56F
split-complementary
#303BC5 #C56F30 #86C530
monochromatic
#181E63 #242C94 #303BC5 #5B64D7 #8C93E3

Accessibility & contrast

On white

8.21
#303BC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303BC5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303BC5#FFFFFF#000000##FFFFFF
##303BC51.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303bc5;
/* rgb */ color: rgb(48, 59, 197);
/* oklch */ color: oklch(44.5% 0.210 270.9);
Tailwind
colors: {
  custom: {
    50: '#8072d8',
    500: '#303bc5',
    950: '#000000',
  },
}
SCSS
$custom: #303bc5;
$custom-light: #8072d8;
$custom-dark: #000000;
JSON
{
  "hex": "#303bc5",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 235.57,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44481,
    "c": 0.21003,
    "h": 270.9
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#303BC5
secondary
#CDC884
accent
#D844E4
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #303BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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