#301AA7#301AA7

#301AA7 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 36.9% C 0.204 H 276.7°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#301AA7
RGBrgb(48, 26, 167)
HSLhsl(249, 73%, 38%)
HSVhsv(249, 84%, 65%)
CMYKcmyk(71.3%, 84.4%, 0%, 34.5%)
CIE-LABlab(24.18, 50.93, -70.16)
CIE-LCHlch(24.18, 86.70, 305.98°)
OKLaboklab(36.94% 0.0237 -0.2027)
OKLCHoklch(36.94% 0.204 276.7)
XYZxyz(8.5611, 4.1564, 36.9028)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301AA7 #91A71A
analogous
#1A4AA7 #301AA7 #771AA7
triadic
#301AA7 #A7301A #1AA730
tetradic
#301AA7 #A71A4A #91A71A #1AA777
square
#301AA7 #A71A4A #91A71A #1AA777
split-complementary
#301AA7 #A7771A #4AA71A
monochromatic
#120A3D #211272 #301AA7 #3F22DC #6D57E5

Accessibility & contrast

On white

11.47
#301AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#301AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301AA7
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301AA7#FFFFFF#000000##FFFFFF
##301AA71.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAB
Deuteranopia (green-blind)
#0033A5
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #301aa7;
/* rgb */ color: rgb(48, 26, 167);
/* oklch */ color: oklch(36.9% 0.204 276.7);
Tailwind
colors: {
  custom: {
    50: '#7c5dc3',
    500: '#301aa7',
    950: '#000000',
  },
}
SCSS
$custom: #301aa7;
$custom-light: #7c5dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#301aa7",
  "rgb": {
    "r": 48,
    "g": 26,
    "b": 167
  },
  "hsl": {
    "h": 249.362,
    "s": 73.057,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36938,
    "c": 0.20411,
    "h": 276.7
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#301AA7
secondary
#B6C855
accent
#F038D3
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #301AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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