#301BA1#301BA1

#301BA1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.196 H 277.4°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#301BA1
RGBrgb(48, 27, 161)
HSLhsl(249, 71%, 37%)
HSVhsv(249, 83%, 63%)
CMYKcmyk(70.2%, 83.2%, 0%, 36.9%)
CIE-LABlab(23.62, 48.72, -67.45)
CIE-LCHlch(23.62, 83.21, 305.84°)
OKLaboklab(36.35% 0.0252 -0.1949)
OKLCHoklch(36.35% 0.196 277.4)
XYZxyz(8.0418, 3.9847, 34.0566)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301BA1 #8CA11B
analogous
#1B49A1 #301BA1 #731BA1
triadic
#301BA1 #A1301B #1BA130
tetradic
#301BA1 #A11B49 #8CA11B #1BA173
square
#301BA1 #A11B49 #8CA11B #1BA173
split-complementary
#301BA1 #A1731B #49A11B
monochromatic
#110938 #20126D #301BA1 #4024D5 #6A54E2

Accessibility & contrast

On white

11.69
#301BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#301BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301BA1
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301BA1#FFFFFF#000000##FFFFFF
##301BA11.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00339F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #301ba1;
/* rgb */ color: rgb(48, 27, 161);
/* oklch */ color: oklch(36.3% 0.196 277.4);
Tailwind
colors: {
  custom: {
    50: '#7a5dbe',
    500: '#301ba1',
    950: '#000000',
  },
}
SCSS
$custom: #301ba1;
$custom-light: #7a5dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#301ba1",
  "rgb": {
    "r": 48,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 249.403,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36347,
    "c": 0.19649,
    "h": 277.4
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#301BA1
secondary
#B3C552
accent
#EE3AD2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #301BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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