#301EAC#301EAC

#301EAC is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.9% C 0.207 H 275.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#301EAC
RGBrgb(48, 30, 172)
HSLhsl(248, 70%, 40%)
HSVhsv(248, 83%, 67%)
CMYKcmyk(72.1%, 82.6%, 0%, 32.5%)
CIE-LABlab(25.37, 50.67, -71.22)
CIE-LCHlch(25.37, 87.40, 305.43°)
OKLaboklab(37.92% 0.0208 -0.2059)
OKLCHoklch(37.92% 0.207 275.8)
XYZxyz(9.1271, 4.5346, 39.4160)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301EAC #9AAC1E
analogous
#1E53AC #301EAC #771EAC
triadic
#301EAC #AC301E #1EAC30
tetradic
#301EAC #AC1E53 #9AAC1E #1EAC77
square
#301EAC #AC1E53 #9AAC1E #1EAC77
split-complementary
#301EAC #AC771E #53AC1E
monochromatic
#130C44 #211578 #301EAC #432DDA #7261E3

Accessibility & contrast

On white

11.01
#301EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#301EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301EAC
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301EAC#FFFFFF#000000##FFFFFF
##301EAC1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0036AA
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #301eac;
/* rgb */ color: rgb(48, 30, 172);
/* oklch */ color: oklch(37.9% 0.207 275.8);
Tailwind
colors: {
  custom: {
    50: '#7d5fc6',
    500: '#301eac',
    950: '#000000',
  },
}
SCSS
$custom: #301eac;
$custom-light: #7d5fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#301eac",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 172
  },
  "hsl": {
    "h": 247.606,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.20691,
    "h": 275.8
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#301EAC
secondary
#BBC85E
accent
#ED3BD6
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #301EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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