#303AC1#303AC1

#303AC1 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 43.9% C 0.206 H 271.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#303AC1
RGBrgb(48, 58, 193)
HSLhsl(236, 60%, 47%)
HSVhsv(236, 75%, 76%)
CMYKcmyk(75.1%, 69.9%, 0%, 24.3%)
CIE-LABlab(32.93, 42.39, -71.21)
CIE-LCHlch(32.93, 82.87, 300.76°)
OKLaboklab(43.93% 0.0042 -0.2061)
OKLCHoklch(43.93% 0.206 271.2)
XYZxyz(12.3544, 7.5034, 51.2389)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303AC1 #C1B730
analogous
#3083C1 #303AC1 #6F30C1
triadic
#303AC1 #C1303A #3AC130
tetradic
#303AC1 #C13083 #C1B730 #30C16F
square
#303AC1 #C13083 #C1B730 #30C16F
split-complementary
#303AC1 #C16F30 #83C130
monochromatic
#181D5F #242B90 #303AC1 #5961D6 #8A90E2

Accessibility & contrast

On white

8.40
#303AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#303AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303AC1
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303AC1#FFFFFF#000000##FFFFFF
##303AC11.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #303ac1;
/* rgb */ color: rgb(48, 58, 193);
/* oklch */ color: oklch(43.9% 0.206 271.2);
Tailwind
colors: {
  custom: {
    50: '#7f71d5',
    500: '#303ac1',
    950: '#000000',
  },
}
SCSS
$custom: #303ac1;
$custom-light: #7f71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#303ac1",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 193
  },
  "hsl": {
    "h": 235.862,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43927,
    "c": 0.20613,
    "h": 271.2
  },
  "luminance": 0.07505
}

Semantic roles & 50–950 ramp

primary
#303AC1
secondary
#CCC781
accent
#D844E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #303AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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