#301DB3#301DB3

#301DB3 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.216 H 275.1°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#301DB3
RGBrgb(48, 29, 179)
HSLhsl(248, 72%, 41%)
HSVhsv(248, 84%, 70%)
CMYKcmyk(73.2%, 83.8%, 0%, 29.8%)
CIE-LABlab(26.04, 53.18, -74.30)
CIE-LCHlch(26.04, 91.37, 305.60°)
OKLaboklab(38.63% 0.0191 -0.2148)
OKLCHoklch(38.63% 0.216 275.1)
XYZxyz(9.7923, 4.7608, 43.0419)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301DB3 #A0B31D
analogous
#1D55B3 #301DB3 #7B1DB3
triadic
#301DB3 #B3301D #1DB330
tetradic
#301DB3 #B31D55 #A0B31D #1DB37B
square
#301DB3 #B31D55 #A0B31D #1DB37B
split-complementary
#301DB3 #B37B1D #55B31D
monochromatic
#140C4A #22147E #301DB3 #4630DD #7564E6

Accessibility & contrast

On white

10.76
#301DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#301DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301DB3
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301DB3#FFFFFF#000000##FFFFFF
##301DB31.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #301db3;
/* rgb */ color: rgb(48, 29, 179);
/* oklch */ color: oklch(38.6% 0.216 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e5fcb',
    500: '#301db3',
    950: '#000000',
  },
}
SCSS
$custom: #301db3;
$custom-light: #7e5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#301db3",
  "rgb": {
    "r": 48,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 247.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38629,
    "c": 0.21562,
    "h": 275.1
  },
  "luminance": 0.04762
}

Semantic roles & 50–950 ramp

primary
#301DB3
secondary
#BECB61
accent
#EF39D8
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #301DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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