#303CC1#303CC1

#303CC1 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.2% C 0.204 H 270.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#303CC1
RGBrgb(48, 60, 193)
HSLhsl(235, 60%, 47%)
HSVhsv(235, 75%, 76%)
CMYKcmyk(75.1%, 68.9%, 0%, 24.3%)
CIE-LABlab(33.37, 41.18, -70.48)
CIE-LCHlch(33.37, 81.63, 300.30°)
OKLaboklab(44.25% 0.0031 -0.204)
OKLCHoklch(44.25% 0.204 270.9)
XYZxyz(12.4571, 7.7090, 51.2732)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303CC1 #C1B530
analogous
#3085C1 #303CC1 #6C30C1
triadic
#303CC1 #C1303C #3CC130
tetradic
#303CC1 #C13085 #C1B530 #30C16C
square
#303CC1 #C13085 #C1B530 #30C16C
split-complementary
#303CC1 #C16C30 #85C130
monochromatic
#181E5F #242D90 #303CC1 #5963D6 #8A91E2

Accessibility & contrast

On white

8.26
#303CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#303CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303CC1
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303CC1#FFFFFF#000000##FFFFFF
##303CC11.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303cc1;
/* rgb */ color: rgb(48, 60, 193);
/* oklch */ color: oklch(44.2% 0.204 270.9);
Tailwind
colors: {
  custom: {
    50: '#7f72d5',
    500: '#303cc1',
    950: '#000000',
  },
}
SCSS
$custom: #303cc1;
$custom-light: #7f72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#303cc1",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 235.034,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44246,
    "c": 0.20398,
    "h": 270.9
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#303CC1
secondary
#CCC681
accent
#D644E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #303CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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