#301C9D#301C9D

#301C9D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.191 H 277.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#301C9D
RGBrgb(48, 28, 157)
HSLhsl(249, 70%, 36%)
HSVhsv(249, 82%, 62%)
CMYKcmyk(69.4%, 82.2%, 0%, 38.4%)
CIE-LABlab(23.31, 47.07, -65.52)
CIE-LCHlch(23.31, 80.67, 305.69°)
OKLaboklab(36% 0.026 -0.1893)
OKLCHoklch(36% 0.191 277.8)
XYZxyz(7.7180, 3.8925, 32.2364)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301C9D #899D1C
analogous
#1C499D #301C9D #711C9D
triadic
#301C9D #9D301C #1C9D30
tetradic
#301C9D #9D1C49 #899D1C #1C9D71
square
#301C9D #9D1C49 #899D1C #1C9D71
split-complementary
#301C9D #9D711C #499D1C
monochromatic
#100935 #201369 #301C9D #4025D1 #6953E0

Accessibility & contrast

On white

11.81
#301C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#301C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301C9D
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301C9D#FFFFFF#000000##FFFFFF
##301C9D1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA1
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #301c9d;
/* rgb */ color: rgb(48, 28, 157);
/* oklch */ color: oklch(36.0% 0.191 277.8);
Tailwind
colors: {
  custom: {
    50: '#795dbb',
    500: '#301c9d',
    950: '#000000',
  },
}
SCSS
$custom: #301c9d;
$custom-light: #795dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#301c9d",
  "rgb": {
    "r": 48,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 249.302,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35999,
    "c": 0.19106,
    "h": 277.8
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#301C9D
secondary
#B2C351
accent
#ED3BD1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #301C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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