#301DB1#301DB1

#301DB1 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.4% C 0.213 H 275.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#301DB1
RGBrgb(48, 29, 177)
HSLhsl(248, 72%, 40%)
HSVhsv(248, 84%, 69%)
CMYKcmyk(72.9%, 83.6%, 0%, 30.6%)
CIE-LABlab(25.80, 52.59, -73.49)
CIE-LCHlch(25.80, 90.37, 305.59°)
OKLaboklab(38.4% 0.0197 -0.2124)
OKLCHoklch(38.4% 0.213 275.3)
XYZxyz(9.5915, 4.6805, 41.9844)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301DB1 #9EB11D
analogous
#1D54B1 #301DB1 #7A1DB1
triadic
#301DB1 #B1301D #1DB130
tetradic
#301DB1 #B11D54 #9EB11D #1DB17A
square
#301DB1 #B11D54 #9EB11D #1DB17A
split-complementary
#301DB1 #B17A1D #54B11D
monochromatic
#130C48 #22147C #301DB1 #452EDD #7463E5

Accessibility & contrast

On white

10.85
#301DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#301DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301DB1
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301DB1#FFFFFF#000000##FFFFFF
##301DB11.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B5
Deuteranopia (green-blind)
#0036AF
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #301db1;
/* rgb */ color: rgb(48, 29, 177);
/* oklch */ color: oklch(38.4% 0.213 275.3);
Tailwind
colors: {
  custom: {
    50: '#7e5fca',
    500: '#301db1',
    950: '#000000',
  },
}
SCSS
$custom: #301db1;
$custom-light: #7e5fca;
$custom-dark: #000000;
JSON
{
  "hex": "#301db1",
  "rgb": {
    "r": 48,
    "g": 29,
    "b": 177
  },
  "hsl": {
    "h": 247.703,
    "s": 71.845,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38397,
    "c": 0.21335,
    "h": 275.3
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#301DB1
secondary
#BDCA60
accent
#EF39D7
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #301DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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