#301E92#301E92

#301E92 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.176 H 279.2°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#301E92
RGBrgb(48, 30, 146)
HSLhsl(249, 66%, 35%)
HSVhsv(249, 79%, 57%)
CMYKcmyk(67.1%, 79.5%, 0%, 42.7%)
CIE-LABlab(22.41, 42.70, -60.23)
CIE-LCHlch(22.41, 73.83, 305.33°)
OKLaboklab(35.01% 0.0282 -0.1739)
OKLCHoklch(35.01% 0.176 279.2)
XYZxyz(6.8698, 3.6317, 27.5275)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301E92 #80921E
analogous
#1E4692 #301E92 #6A1E92
triadic
#301E92 #92301E #1E9230
tetradic
#301E92 #921E46 #80921E #1E926A
square
#301E92 #921E46 #80921E #1E926A
split-complementary
#301E92 #926A1E #46921E
monochromatic
#0F092C #1F145F #301E92 #4128C5 #654FDB

Accessibility & contrast

On white

12.16
#301E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301E92
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301E92#FFFFFF#000000##FFFFFF
##301E921.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301e92;
/* rgb */ color: rgb(48, 30, 146);
/* oklch */ color: oklch(35.0% 0.176 279.2);
Tailwind
colors: {
  custom: {
    50: '#775db3',
    500: '#301e92',
    950: '#000000',
  },
}
SCSS
$custom: #301e92;
$custom-light: #775db3;
$custom-dark: #000000;
JSON
{
  "hex": "#301e92",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 249.31,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3501,
    "c": 0.1762,
    "h": 279.2
  },
  "luminance": 0.03632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #301E92

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

Preview Lab → · Contrast checker → · Palette generator →

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