#301D96#301D96

#301D96 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.182 H 278.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#301D96
RGBrgb(48, 29, 150)
HSLhsl(249, 68%, 35%)
HSVhsv(249, 81%, 59%)
CMYKcmyk(68%, 80.7%, 0%, 41.2%)
CIE-LABlab(22.68, 44.44, -62.26)
CIE-LCHlch(22.68, 76.50, 305.52°)
OKLaboklab(35.33% 0.0276 -0.1798)
OKLCHoklch(35.33% 0.182 278.7)
XYZxyz(7.1615, 3.7085, 29.1867)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301D96 #83961D
analogous
#1D4796 #301D96 #6C1D96
triadic
#301D96 #96301D #1D9630
tetradic
#301D96 #961D47 #83961D #1D966C
square
#301D96 #961D47 #83961D #1D966C
split-complementary
#301D96 #966C1D #47961D
monochromatic
#0F092F #201363 #301D96 #4027C9 #6650DD

Accessibility & contrast

On white

12.06
#301D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#301D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301D96
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301D96#FFFFFF#000000##FFFFFF
##301D961.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #301d96;
/* rgb */ color: rgb(48, 29, 150);
/* oklch */ color: oklch(35.3% 0.182 278.7);
Tailwind
colors: {
  custom: {
    50: '#785db6',
    500: '#301d96',
    950: '#000000',
  },
}
SCSS
$custom: #301d96;
$custom-light: #785db6;
$custom-dark: #000000;
JSON
{
  "hex": "#301d96",
  "rgb": {
    "r": 48,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 249.421,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35329,
    "c": 0.18193,
    "h": 278.7
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#301D96
secondary
#AEC04F
accent
#EA3DCF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301D96

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

Preview Lab → · Contrast checker → · Palette generator →

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