#301A9F#301A9F

#301A9F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.195 H 277.7°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#301A9F
RGBrgb(48, 26, 159)
HSLhsl(250, 72%, 36%)
HSVhsv(250, 84%, 62%)
CMYKcmyk(69.8%, 83.6%, 0%, 37.6%)
CIE-LABlab(23.24, 48.57, -66.87)
CIE-LCHlch(23.24, 82.65, 305.99°)
OKLaboklab(36.01% 0.0262 -0.1932)
OKLCHoklch(36.01% 0.195 277.7)
XYZxyz(7.8443, 3.8697, 33.1277)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301A9F #899F1A
analogous
#1A479F #301A9F #731A9F
triadic
#301A9F #9F301A #1A9F30
tetradic
#301A9F #9F1A47 #899F1A #1A9F73
square
#301A9F #9F1A47 #899F1A #1A9F73
split-complementary
#301A9F #9F731A #479F1A
monochromatic
#100936 #20116A #301A9F #4023D4 #6951E3

Accessibility & contrast

On white

11.84
#301A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#301A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301A9F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301A9F#FFFFFF#000000##FFFFFF
##301A9F1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #301a9f;
/* rgb */ color: rgb(48, 26, 159);
/* oklch */ color: oklch(36.0% 0.195 277.7);
Tailwind
colors: {
  custom: {
    50: '#7a5cbd',
    500: '#301a9f',
    950: '#000000',
  },
}
SCSS
$custom: #301a9f;
$custom-light: #7a5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#301a9f",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 249.925,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36013,
    "c": 0.19494,
    "h": 277.7
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#301A9F
secondary
#B2C550
accent
#EF39D1
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #301A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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