#301DA6#301DA6

#301DA6 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.201 H 276.6°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#301DA6
RGBrgb(48, 29, 166)
HSLhsl(248, 70%, 38%)
HSVhsv(248, 83%, 65%)
CMYKcmyk(71.1%, 82.5%, 0%, 34.9%)
CIE-LABlab(24.51, 49.32, -69.01)
CIE-LCHlch(24.51, 84.82, 305.55°)
OKLaboklab(37.13% 0.0229 -0.1994)
OKLCHoklch(37.13% 0.201 276.6)
XYZxyz(8.5390, 4.2595, 36.4412)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301DA6 #93A61D
analogous
#1D4EA6 #301DA6 #741DA6
triadic
#301DA6 #A6301D #1DA630
tetradic
#301DA6 #A61D4E #93A61D #1DA674
square
#301DA6 #A61D4E #93A61D #1DA674
split-complementary
#301DA6 #A6741D #4EA61D
monochromatic
#120B3E #211472 #301DA6 #4027D9 #6E5BE2

Accessibility & contrast

On white

11.34
#301DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#301DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301DA6
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301DA6#FFFFFF#000000##FFFFFF
##301DA61.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0034A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #301da6;
/* rgb */ color: rgb(48, 29, 166);
/* oklch */ color: oklch(37.1% 0.201 276.6);
Tailwind
colors: {
  custom: {
    50: '#7b5ec2',
    500: '#301da6',
    950: '#000000',
  },
}
SCSS
$custom: #301da6;
$custom-light: #7b5ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#301da6",
  "rgb": {
    "r": 48,
    "g": 29,
    "b": 166
  },
  "hsl": {
    "h": 248.321,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37131,
    "c": 0.20075,
    "h": 276.6
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#301DA6
secondary
#B7C659
accent
#ED3BD4
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #301DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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