#301DA0#301DA0

#301DA0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.4% C 0.194 H 277.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#301DA0
RGBrgb(48, 29, 160)
HSLhsl(249, 69%, 37%)
HSVhsv(249, 82%, 63%)
CMYKcmyk(70%, 81.9%, 0%, 37.3%)
CIE-LABlab(23.82, 47.51, -66.51)
CIE-LCHlch(23.82, 81.74, 305.54°)
OKLaboklab(36.45% 0.0247 -0.1922)
OKLCHoklch(36.45% 0.194 277.3)
XYZxyz(8.0014, 4.0445, 33.6099)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301DA0 #8DA01D
analogous
#1D4CA0 #301DA0 #711DA0
triadic
#301DA0 #A0301D #1DA030
tetradic
#301DA0 #A01D4C #8DA01D #1DA071
square
#301DA0 #A01D4C #8DA01D #1DA071
split-complementary
#301DA0 #A0711D #4CA01D
monochromatic
#110A38 #20146C #301DA0 #4026D4 #6B57E1

Accessibility & contrast

On white

11.61
#301DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#301DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301DA0
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301DA0#FFFFFF#000000##FFFFFF
##301DA01.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #301da0;
/* rgb */ color: rgb(48, 29, 160);
/* oklch */ color: oklch(36.4% 0.194 277.3);
Tailwind
colors: {
  custom: {
    50: '#7a5ebd',
    500: '#301da0',
    950: '#000000',
  },
}
SCSS
$custom: #301da0;
$custom-light: #7a5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#301da0",
  "rgb": {
    "r": 48,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 248.702,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36449,
    "c": 0.19377,
    "h": 277.3
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#301DA0
secondary
#B4C455
accent
#EC3CD3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #301DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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