#301DC9#301DC9

#301DC9 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 41.2% C 0.240 H 273.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#301DC9
RGBrgb(48, 29, 201)
HSLhsl(247, 75%, 45%)
HSVhsv(247, 86%, 79%)
CMYKcmyk(76.1%, 85.6%, 0%, 21.2%)
CIE-LABlab(28.70, 59.52, -82.89)
CIE-LCHlch(28.70, 102.04, 305.68°)
OKLaboklab(41.21% 0.0128 -0.2397)
OKLCHoklch(41.21% 0.24 273.1)
XYZxyz(12.1974, 5.7229, 55.7088)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301DC9 #B6C91D
analogous
#1D60C9 #301DC9 #861DC9
triadic
#301DC9 #C9301D #1DC930
tetradic
#301DC9 #C91D60 #B6C91D #1DC986
square
#301DC9 #C91D60 #B6C91D #1DC986
split-complementary
#301DC9 #C9861D #60C91D
monochromatic
#160E5E #231594 #301DC9 #5240E3 #8275EB

Accessibility & contrast

On white

9.79
#301DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#301DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301DC9
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301DC9#FFFFFF#000000##FFFFFF
##301DC91.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BCD
Deuteranopia (green-blind)
#003BC6
Tritanopia (blue-blind)
#005777
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #301dc9;
/* rgb */ color: rgb(48, 29, 201);
/* oklch */ color: oklch(41.2% 0.240 273.1);
Tailwind
colors: {
  custom: {
    50: '#8361db',
    500: '#301dc9',
    950: '#000000',
  },
}
SCSS
$custom: #301dc9;
$custom-light: #8361db;
$custom-dark: #000000;
JSON
{
  "hex": "#301dc9",
  "rgb": {
    "r": 48,
    "g": 29,
    "b": 201
  },
  "hsl": {
    "h": 246.628,
    "s": 74.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41213,
    "c": 0.24,
    "h": 273.1
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#301DC9
secondary
#C7D270
accent
#F136DD
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0515
muted
#7E7A83

Preview Lab

Preview with #301DC9

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

Preview Lab → · Contrast checker → · Palette generator →

#301DC9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva