#301AA0#301AA0

#301AA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.196 H 277.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#301AA0
RGBrgb(48, 26, 160)
HSLhsl(250, 72%, 36%)
HSVhsv(250, 84%, 63%)
CMYKcmyk(70%, 83.8%, 0%, 37.3%)
CIE-LABlab(23.35, 48.87, -67.28)
CIE-LCHlch(23.35, 83.16, 305.99°)
OKLaboklab(36.13% 0.0259 -0.1944)
OKLCHoklch(36.13% 0.196 277.6)
XYZxyz(7.9314, 3.9045, 33.5866)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301AA0 #8AA01A
analogous
#1A47A0 #301AA0 #731AA0
triadic
#301AA0 #A0301A #1AA030
tetradic
#301AA0 #A01A47 #8AA01A #1AA073
square
#301AA0 #A01A47 #8AA01A #1AA073
split-complementary
#301AA0 #A0731A #47A01A
monochromatic
#100937 #20116B #301AA0 #4023D5 #6952E3

Accessibility & contrast

On white

11.79
#301AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#301AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301AA0
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301AA0#FFFFFF#000000##FFFFFF
##301AA01.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #301aa0;
/* rgb */ color: rgb(48, 26, 160);
/* oklch */ color: oklch(36.1% 0.196 277.6);
Tailwind
colors: {
  custom: {
    50: '#7a5cbd',
    500: '#301aa0',
    950: '#000000',
  },
}
SCSS
$custom: #301aa0;
$custom-light: #7a5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#301aa0",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 249.851,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36128,
    "c": 0.1961,
    "h": 277.6
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #301AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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