#301E91#301E91

#301E91 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.175 H 279.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#301E91
RGBrgb(48, 30, 145)
HSLhsl(249, 66%, 34%)
HSVhsv(249, 79%, 57%)
CMYKcmyk(66.9%, 79.3%, 0%, 43.1%)
CIE-LABlab(22.30, 42.38, -59.79)
CIE-LCHlch(22.30, 73.29, 305.33°)
OKLaboklab(34.9% 0.0285 -0.1726)
OKLCHoklch(34.9% 0.175 279.4)
XYZxyz(6.7924, 3.6007, 27.1196)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301E91 #7F911E
analogous
#1E4691 #301E91 #6A1E91
triadic
#301E91 #91301E #1E9130
tetradic
#301E91 #911E46 #7F911E #1E916A
square
#301E91 #911E46 #7F911E #1E916A
split-complementary
#301E91 #916A1E #46911E
monochromatic
#0E092C #1F145E #301E91 #4128C4 #654FDB

Accessibility & contrast

On white

12.21
#301E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#301E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301E91
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301E91#FFFFFF#000000##FFFFFF
##301E911.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #301e91;
/* rgb */ color: rgb(48, 30, 145);
/* oklch */ color: oklch(34.9% 0.175 279.4);
Tailwind
colors: {
  custom: {
    50: '#775db2',
    500: '#301e91',
    950: '#000000',
  },
}
SCSS
$custom: #301e91;
$custom-light: #775db2;
$custom-dark: #000000;
JSON
{
  "hex": "#301e91",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 249.391,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34901,
    "c": 0.17499,
    "h": 279.4
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#301E91
secondary
#ACBD4D
accent
#E93FCE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301E91

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

Preview Lab → · Contrast checker → · Palette generator →

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