#301F93#301F93

#301F93 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.176 H 278.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#301F93
RGBrgb(48, 31, 147)
HSLhsl(249, 65%, 35%)
HSVhsv(249, 79%, 58%)
CMYKcmyk(67.3%, 78.9%, 0%, 42.4%)
CIE-LABlab(22.70, 42.49, -60.37)
CIE-LCHlch(22.70, 73.83, 305.14°)
OKLaboklab(35.24% 0.0274 -0.1743)
OKLCHoklch(35.24% 0.176 278.9)
XYZxyz(6.9737, 3.7144, 27.9475)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301F93 #82931F
analogous
#1F4893 #301F93 #6A1F93
triadic
#301F93 #93301F #1F9330
tetradic
#301F93 #931F48 #82931F #1F936A
square
#301F93 #931F48 #82931F #1F936A
split-complementary
#301F93 #936A1F #48931F
monochromatic
#0F0A2E #1F1460 #301F93 #412AC6 #6652DA

Accessibility & contrast

On white

12.05
#301F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301F93
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301F93#FFFFFF#000000##FFFFFF
##301F931.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301f93;
/* rgb */ color: rgb(48, 31, 147);
/* oklch */ color: oklch(35.2% 0.176 278.9);
Tailwind
colors: {
  custom: {
    50: '#775eb4',
    500: '#301f93',
    950: '#000000',
  },
}
SCSS
$custom: #301f93;
$custom-light: #775eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#301f93",
  "rgb": {
    "r": 48,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 248.793,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35245,
    "c": 0.17649,
    "h": 278.9
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#301F93
secondary
#AEBE50
accent
#E840CF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301F93

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

Preview Lab → · Contrast checker → · Palette generator →

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