#301EB3#301EB3

#301EB3 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.7% C 0.215 H 275.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#301EB3
RGBrgb(48, 30, 179)
HSLhsl(247, 71%, 41%)
HSVhsv(247, 83%, 70%)
CMYKcmyk(73.2%, 83.2%, 0%, 29.8%)
CIE-LABlab(26.19, 52.75, -74.05)
CIE-LCHlch(26.19, 90.92, 305.46°)
OKLaboklab(38.73% 0.0188 -0.2141)
OKLCHoklch(38.73% 0.215 275)
XYZxyz(9.8172, 4.8106, 43.0503)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301EB3 #A1B31E
analogous
#1E56B3 #301EB3 #7A1EB3
triadic
#301EB3 #B3301E #1EB330
tetradic
#301EB3 #B31E56 #A1B31E #1EB37A
square
#301EB3 #B31E56 #A1B31E #1EB37A
split-complementary
#301EB3 #B37A1E #56B31E
monochromatic
#140C4A #22157F #301EB3 #4632DD #7566E5

Accessibility & contrast

On white

10.70
#301EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#301EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301EB3
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301EB3#FFFFFF#000000##FFFFFF
##301EB31.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.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: #301eb3;
/* rgb */ color: rgb(48, 30, 179);
/* oklch */ color: oklch(38.7% 0.215 275.0);
Tailwind
colors: {
  custom: {
    50: '#7e60cb',
    500: '#301eb3',
    950: '#000000',
  },
}
SCSS
$custom: #301eb3;
$custom-light: #7e60cb;
$custom-dark: #000000;
JSON
{
  "hex": "#301eb3",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 247.248,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.3873,
    "c": 0.2149,
    "h": 275
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#301EB3
secondary
#BECB62
accent
#EE3AD8
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #301EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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