#301EAD#301EAD

#301EAD is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.208 H 275.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#301EAD
RGBrgb(48, 30, 173)
HSLhsl(248, 70%, 40%)
HSVhsv(248, 83%, 68%)
CMYKcmyk(72.3%, 82.7%, 0%, 32.2%)
CIE-LABlab(25.48, 50.96, -71.63)
CIE-LCHlch(25.48, 87.91, 305.43°)
OKLaboklab(38.04% 0.0205 -0.207)
OKLCHoklch(38.04% 0.208 275.7)
XYZxyz(9.2235, 4.5732, 39.9237)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301EAD #9BAD1E
analogous
#1E54AD #301EAD #771EAD
triadic
#301EAD #AD301E #1EAD30
tetradic
#301EAD #AD1E54 #9BAD1E #1EAD77
square
#301EAD #AD1E54 #9BAD1E #1EAD77
split-complementary
#301EAD #AD771E #54AD1E
monochromatic
#130C45 #221579 #301EAD #432EDB #7262E4

Accessibility & contrast

On white

10.97
#301EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#301EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301EAD
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301EAD#FFFFFF#000000##FFFFFF
##301EAD1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B1
Deuteranopia (green-blind)
#0036AB
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #301ead;
/* rgb */ color: rgb(48, 30, 173);
/* oklch */ color: oklch(38.0% 0.208 275.7);
Tailwind
colors: {
  custom: {
    50: '#7d5fc7',
    500: '#301ead',
    950: '#000000',
  },
}
SCSS
$custom: #301ead;
$custom-light: #7d5fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#301ead",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 173
  },
  "hsl": {
    "h": 247.552,
    "s": 70.443,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38039,
    "c": 0.20806,
    "h": 275.7
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#301EAD
secondary
#BBC85E
accent
#ED3BD7
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #301EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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