#301E9B#301E9B

#301E9B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.187 H 277.9°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#301E9B
RGBrgb(48, 30, 155)
HSLhsl(249, 68%, 36%)
HSVhsv(249, 81%, 61%)
CMYKcmyk(69%, 80.6%, 0%, 39.2%)
CIE-LABlab(23.41, 45.50, -64.12)
CIE-LCHlch(23.41, 78.62, 305.36°)
OKLaboklab(36% 0.0257 -0.1853)
OKLCHoklch(36% 0.187 277.9)
XYZxyz(7.5977, 3.9228, 31.3608)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301E9B #899B1E
analogous
#1E4B9B #301E9B #6F1E9B
triadic
#301E9B #9B301E #1E9B30
tetradic
#301E9B #9B1E4B #899B1E #1E9B6F
square
#301E9B #9B1E4B #899B1E #1E9B6F
split-complementary
#301E9B #9B6F1E #4B9B1E
monochromatic
#100A34 #201468 #301E9B #4028CE #6955DE

Accessibility & contrast

On white

11.77
#301E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#301E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301E9B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301E9B#FFFFFF#000000##FFFFFF
##301E9B1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #301e9b;
/* rgb */ color: rgb(48, 30, 155);
/* oklch */ color: oklch(36.0% 0.187 277.9);
Tailwind
colors: {
  custom: {
    50: '#795eba',
    500: '#301e9b',
    950: '#000000',
  },
}
SCSS
$custom: #301e9b;
$custom-light: #795eba;
$custom-dark: #000000;
JSON
{
  "hex": "#301e9b",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 248.64,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36003,
    "c": 0.18703,
    "h": 277.9
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#301E9B
secondary
#B2C253
accent
#EA3DD2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #301E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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