#302CC1#302CC1

#302CC1 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.220 H 272.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#302CC1
RGBrgb(48, 44, 193)
HSLhsl(242, 63%, 46%)
HSVhsv(242, 77%, 76%)
CMYKcmyk(75.1%, 77.2%, 0%, 24.3%)
CIE-LABlab(30.11, 50.29, -75.87)
CIE-LCHlch(30.11, 91.02, 303.54°)
OKLaboklab(41.92% 0.0104 -0.2195)
OKLCHoklch(41.92% 0.22 272.7)
XYZxyz(11.7420, 6.2788, 51.0348)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302CC1 #BDC12C
analogous
#2C73C1 #302CC1 #7B2CC1
triadic
#302CC1 #C1302C #2CC130
tetradic
#302CC1 #C12C73 #BDC12C #2CC17B
square
#302CC1 #C12C73 #BDC12C #2CC17B
split-complementary
#302CC1 #C17B2C #73C12C
monochromatic
#17155D #24218F #302CC1 #5653D8 #8784E3

Accessibility & contrast

On white

9.31
#302CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#302CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302CC1
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302CC1#FFFFFF#000000##FFFFFF
##302CC11.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC5
Deuteranopia (green-blind)
#0040BE
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #302cc1;
/* rgb */ color: rgb(48, 44, 193);
/* oklch */ color: oklch(41.9% 0.220 272.7);
Tailwind
colors: {
  custom: {
    50: '#8068d5',
    500: '#302cc1',
    950: '#000000',
  },
}
SCSS
$custom: #302cc1;
$custom-light: #8068d5;
$custom-dark: #000000;
JSON
{
  "hex": "#302cc1",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 241.611,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.2198,
    "h": 272.7
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#302CC1
secondary
#CACC7D
accent
#E642E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #302CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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