#301EA9#301EA9

#301EA9 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.6% C 0.203 H 276.1°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#301EA9
RGBrgb(48, 30, 169)
HSLhsl(248, 70%, 39%)
HSVhsv(248, 82%, 66%)
CMYKcmyk(71.6%, 82.2%, 0%, 33.7%)
CIE-LABlab(25.02, 49.76, -69.99)
CIE-LCHlch(25.02, 85.88, 305.41°)
OKLaboklab(37.58% 0.0216 -0.2023)
OKLCHoklch(37.58% 0.203 276.1)
XYZxyz(8.8423, 4.4207, 37.9157)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301EA9 #97A91E
analogous
#1E52A9 #301EA9 #761EA9
triadic
#301EA9 #A9301E #1EA930
tetradic
#301EA9 #A91E52 #97A91E #1EA976
square
#301EA9 #A91E52 #97A91E #1EA976
split-complementary
#301EA9 #A9761E #52A91E
monochromatic
#120C41 #211575 #301EA9 #412BD9 #705FE3

Accessibility & contrast

On white

11.15
#301EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#301EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301EA9
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301EA9#FFFFFF#000000##FFFFFF
##301EA91.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AD
Deuteranopia (green-blind)
#0035A7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #301ea9;
/* rgb */ color: rgb(48, 30, 169);
/* oklch */ color: oklch(37.6% 0.203 276.1);
Tailwind
colors: {
  custom: {
    50: '#7c5fc4',
    500: '#301ea9',
    950: '#000000',
  },
}
SCSS
$custom: #301ea9;
$custom-light: #7c5fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#301ea9",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 247.77,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37581,
    "c": 0.20345,
    "h": 276.1
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#301EA9
secondary
#B9C75C
accent
#ED3BD6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #301EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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