#301F92#301F92

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

Color values

HEX#301F92
RGBrgb(48, 31, 146)
HSLhsl(249, 65%, 35%)
HSVhsv(249, 79%, 57%)
CMYKcmyk(67.1%, 78.8%, 0%, 42.7%)
CIE-LABlab(22.59, 42.18, -59.93)
CIE-LCHlch(22.59, 73.29, 305.14°)
OKLaboklab(35.14% 0.0277 -0.1731)
OKLCHoklch(35.14% 0.175 279.1)
XYZxyz(6.8956, 3.6831, 27.5361)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301F92 #81921F
analogous
#1F4792 #301F92 #6A1F92
triadic
#301F92 #92301F #1F9230
tetradic
#301F92 #921F47 #81921F #1F926A
square
#301F92 #921F47 #81921F #1F926A
split-complementary
#301F92 #926A1F #47921F
monochromatic
#0F0A2D #1F1460 #301F92 #412AC4 #6651DA

Accessibility & contrast

On white

12.09
#301F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301F92
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301F92#FFFFFF#000000##FFFFFF
##301F921.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.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: #301f92;
/* rgb */ color: rgb(48, 31, 146);
/* oklch */ color: oklch(35.1% 0.175 279.1);
Tailwind
colors: {
  custom: {
    50: '#775eb3',
    500: '#301f92',
    950: '#000000',
  },
}
SCSS
$custom: #301f92;
$custom-light: #775eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#301f92",
  "rgb": {
    "r": 48,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 248.87,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35136,
    "c": 0.17527,
    "h": 279.1
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #301F92

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

Preview Lab → · Contrast checker → · Palette generator →

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