#301CA0#301CA0

#301CA0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.195 H 277.4°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#301CA0
RGBrgb(48, 28, 160)
HSLhsl(249, 70%, 37%)
HSVhsv(249, 83%, 63%)
CMYKcmyk(70%, 82.5%, 0%, 37.3%)
CIE-LABlab(23.66, 47.97, -66.78)
CIE-LCHlch(23.66, 82.22, 305.69°)
OKLaboklab(36.34% 0.0251 -0.1929)
OKLCHoklch(36.34% 0.195 277.4)
XYZxyz(7.9773, 3.9962, 33.6018)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301CA0 #8CA01C
analogous
#1C4AA0 #301CA0 #721CA0
triadic
#301CA0 #A0301C #1CA030
tetradic
#301CA0 #A01C4A #8CA01C #1CA072
square
#301CA0 #A01C4A #8CA01C #1CA072
split-complementary
#301CA0 #A0721C #4AA01C
monochromatic
#110A38 #20136C #301CA0 #4025D4 #6A55E1

Accessibility & contrast

On white

11.67
#301CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#301CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301CA0
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301CA0#FFFFFF#000000##FFFFFF
##301CA01.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #301ca0;
/* rgb */ color: rgb(48, 28, 160);
/* oklch */ color: oklch(36.3% 0.195 277.4);
Tailwind
colors: {
  custom: {
    50: '#7a5dbd',
    500: '#301ca0',
    950: '#000000',
  },
}
SCSS
$custom: #301ca0;
$custom-light: #7a5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#301ca0",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 249.091,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36339,
    "c": 0.19457,
    "h": 277.4
  },
  "luminance": 0.03997
}

Semantic roles & 50–950 ramp

primary
#301CA0
secondary
#B3C453
accent
#ED3BD2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #301CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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