#301E9F#301E9F

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

Color values

HEX#301E9F
RGBrgb(48, 30, 159)
HSLhsl(248, 68%, 37%)
HSVhsv(248, 81%, 62%)
CMYKcmyk(69.8%, 81.1%, 0%, 37.6%)
CIE-LABlab(23.87, 46.73, -65.82)
CIE-LCHlch(23.87, 80.72, 305.37°)
OKLaboklab(36.45% 0.0245 -0.1902)
OKLCHoklch(36.45% 0.192 277.3)
XYZxyz(7.9392, 4.0594, 33.1593)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301E9F #8D9F1E
analogous
#1E4D9F #301E9F #711E9F
triadic
#301E9F #9F301E #1E9F30
tetradic
#301E9F #9F1E4D #8D9F1E #1E9F71
square
#301E9F #9F1E4D #8D9F1E #1E9F71
split-complementary
#301E9F #9F711E #4D9F1E
monochromatic
#110B38 #20146C #301E9F #4028D2 #6B58DF

Accessibility & contrast

On white

11.59
#301E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301E9F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301E9F#FFFFFF#000000##FFFFFF
##301E9F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301e9f;
/* rgb */ color: rgb(48, 30, 159);
/* oklch */ color: oklch(36.4% 0.192 277.3);
Tailwind
colors: {
  custom: {
    50: '#7a5ebd',
    500: '#301e9f',
    950: '#000000',
  },
}
SCSS
$custom: #301e9f;
$custom-light: #7a5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#301e9f",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 248.372,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3645,
    "c": 0.19177,
    "h": 277.3
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#301E9F
secondary
#B4C356
accent
#EB3DD3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #301E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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