#301E93#301E93

#301E93 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.177 H 279.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#301E93
RGBrgb(48, 30, 147)
HSLhsl(249, 66%, 35%)
HSVhsv(249, 80%, 58%)
CMYKcmyk(67.3%, 79.6%, 0%, 42.4%)
CIE-LABlab(22.52, 43.01, -60.67)
CIE-LCHlch(22.52, 74.37, 305.33°)
OKLaboklab(35.12% 0.0279 -0.1752)
OKLCHoklch(35.12% 0.177 279.1)
XYZxyz(6.9480, 3.6629, 27.9390)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301E93 #81931E
analogous
#1E4693 #301E93 #6B1E93
triadic
#301E93 #93301E #1E9330
tetradic
#301E93 #931E46 #81931E #1E936B
square
#301E93 #931E46 #81931E #1E936B
split-complementary
#301E93 #936B1E #46931E
monochromatic
#0F092D #1F1460 #301E93 #4128C6 #6650DB

Accessibility & contrast

On white

12.12
#301E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#301E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301E93
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301E93#FFFFFF#000000##FFFFFF
##301E931.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #301e93;
/* rgb */ color: rgb(48, 30, 147);
/* oklch */ color: oklch(35.1% 0.177 279.1);
Tailwind
colors: {
  custom: {
    50: '#775db4',
    500: '#301e93',
    950: '#000000',
  },
}
SCSS
$custom: #301e93;
$custom-light: #775db4;
$custom-dark: #000000;
JSON
{
  "hex": "#301e93",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 249.231,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3512,
    "c": 0.17741,
    "h": 279.1
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

primary
#301E93
secondary
#ADBE4F
accent
#E93FCF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301E93

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

Preview Lab → · Contrast checker → · Palette generator →

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