#301D94#301D94

#301D94 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.180 H 279.0°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#301D94
RGBrgb(48, 29, 148)
HSLhsl(250, 67%, 35%)
HSVhsv(250, 80%, 58%)
CMYKcmyk(67.6%, 80.4%, 0%, 42%)
CIE-LABlab(22.46, 43.83, -61.39)
CIE-LCHlch(22.46, 75.43, 305.52°)
OKLaboklab(35.11% 0.0282 -0.1773)
OKLCHoklch(35.11% 0.18 279)
XYZxyz(7.0019, 3.6446, 28.3457)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301D94 #81941D
analogous
#1D4594 #301D94 #6C1D94
triadic
#301D94 #94301D #1D9430
tetradic
#301D94 #941D45 #81941D #1D946C
square
#301D94 #941D45 #81941D #1D946C
split-complementary
#301D94 #946C1D #45941D
monochromatic
#0F092E #1F1361 #301D94 #4127C7 #664FDC

Accessibility & contrast

On white

12.15
#301D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#301D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301D94
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301D94#FFFFFF#000000##FFFFFF
##301D941.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #301d94;
/* rgb */ color: rgb(48, 29, 148);
/* oklch */ color: oklch(35.1% 0.180 279.0);
Tailwind
colors: {
  custom: {
    50: '#775db5',
    500: '#301d94',
    950: '#000000',
  },
}
SCSS
$custom: #301d94;
$custom-light: #775db5;
$custom-dark: #000000;
JSON
{
  "hex": "#301d94",
  "rgb": {
    "r": 48,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 249.58,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35108,
    "c": 0.17953,
    "h": 279
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#301D94
secondary
#ADBF4E
accent
#EA3ECF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301D94

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

Preview Lab → · Contrast checker → · Palette generator →

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