#301BA0#301BA0

#301BA0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.195 H 277.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#301BA0
RGBrgb(48, 27, 160)
HSLhsl(249, 71%, 37%)
HSVhsv(249, 83%, 63%)
CMYKcmyk(70%, 83.1%, 0%, 37.3%)
CIE-LABlab(23.50, 48.43, -67.03)
CIE-LCHlch(23.50, 82.70, 305.84°)
OKLaboklab(36.23% 0.0255 -0.1937)
OKLCHoklch(36.23% 0.195 277.5)
XYZxyz(7.9540, 3.9496, 33.5941)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301BA0 #8BA01B
analogous
#1B48A0 #301BA0 #731BA0
triadic
#301BA0 #A0301B #1BA030
tetradic
#301BA0 #A01B48 #8BA01B #1BA073
square
#301BA0 #A01B48 #8BA01B #1BA073
split-complementary
#301BA0 #A0731B #48A01B
monochromatic
#110937 #20126C #301BA0 #4024D4 #6A53E2

Accessibility & contrast

On white

11.73
#301BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#301BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301BA0
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301BA0#FFFFFF#000000##FFFFFF
##301BA01.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.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: #301ba0;
/* rgb */ color: rgb(48, 27, 160);
/* oklch */ color: oklch(36.2% 0.195 277.5);
Tailwind
colors: {
  custom: {
    50: '#7a5dbd',
    500: '#301ba0',
    950: '#000000',
  },
}
SCSS
$custom: #301ba0;
$custom-light: #7a5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#301ba0",
  "rgb": {
    "r": 48,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 249.474,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36232,
    "c": 0.19534,
    "h": 277.5
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #301BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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