#301C9A#301C9A

#301C9A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.188 H 278.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#301C9A
RGBrgb(48, 28, 154)
HSLhsl(250, 69%, 36%)
HSVhsv(250, 82%, 60%)
CMYKcmyk(68.8%, 81.8%, 0%, 39.6%)
CIE-LABlab(22.97, 46.15, -64.25)
CIE-LCHlch(22.97, 79.11, 305.69°)
OKLaboklab(35.66% 0.0269 -0.1856)
OKLCHoklch(35.66% 0.188 278.3)
XYZxyz(7.4650, 3.7913, 30.9040)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301C9A #869A1C
analogous
#1C479A #301C9A #6F1C9A
triadic
#301C9A #9A301C #1C9A30
tetradic
#301C9A #9A1C47 #869A1C #1C9A6F
square
#301C9A #9A1C47 #869A1C #1C9A6F
split-complementary
#301C9A #9A6F1C #479A1C
monochromatic
#100932 #201366 #301C9A #4025CE #6851DF

Accessibility & contrast

On white

11.94
#301C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#301C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301C9A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301C9A#FFFFFF#000000##FFFFFF
##301C9A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #301c9a;
/* rgb */ color: rgb(48, 28, 154);
/* oklch */ color: oklch(35.7% 0.188 278.3);
Tailwind
colors: {
  custom: {
    50: '#795db9',
    500: '#301c9a',
    950: '#000000',
  },
}
SCSS
$custom: #301c9a;
$custom-light: #795db9;
$custom-dark: #000000;
JSON
{
  "hex": "#301c9a",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 249.524,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3566,
    "c": 0.18753,
    "h": 278.3
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#301C9A
secondary
#B0C250
accent
#EC3CD0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #301C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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