#301E99#301E99

#301E99 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.185 H 278.2°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#301E99
RGBrgb(48, 30, 153)
HSLhsl(249, 67%, 36%)
HSVhsv(249, 80%, 60%)
CMYKcmyk(68.6%, 80.4%, 0%, 40%)
CIE-LABlab(23.19, 44.88, -63.27)
CIE-LCHlch(23.19, 77.57, 305.35°)
OKLaboklab(35.78% 0.0263 -0.1828)
OKLCHoklch(35.78% 0.185 278.2)
XYZxyz(7.4311, 3.8562, 30.4835)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301E99 #87991E
analogous
#1E4A99 #301E99 #6D1E99
triadic
#301E99 #99301E #1E9930
tetradic
#301E99 #991E4A #87991E #1E996D
square
#301E99 #991E4A #87991E #1E996D
split-complementary
#301E99 #996D1E #4A991E
monochromatic
#100A33 #201466 #301E99 #4028CC #6854DD

Accessibility & contrast

On white

11.86
#301E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#301E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301E99
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301E99#FFFFFF#000000##FFFFFF
##301E991.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #301e99;
/* rgb */ color: rgb(48, 30, 153);
/* oklch */ color: oklch(35.8% 0.185 278.2);
Tailwind
colors: {
  custom: {
    50: '#785eb8',
    500: '#301e99',
    950: '#000000',
  },
}
SCSS
$custom: #301e99;
$custom-light: #785eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#301e99",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 248.78,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3578,
    "c": 0.18465,
    "h": 278.2
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#301E99
secondary
#B1C152
accent
#EA3ED1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #301E99

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

Preview Lab → · Contrast checker → · Palette generator →

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