#301D95#301D95

#301D95 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.181 H 278.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#301D95
RGBrgb(48, 29, 149)
HSLhsl(250, 67%, 35%)
HSVhsv(250, 81%, 58%)
CMYKcmyk(67.8%, 80.5%, 0%, 41.6%)
CIE-LABlab(22.57, 44.14, -61.83)
CIE-LCHlch(22.57, 75.97, 305.52°)
OKLaboklab(35.22% 0.0279 -0.1786)
OKLCHoklch(35.22% 0.181 278.9)
XYZxyz(7.0814, 3.6764, 28.7644)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301D95 #82951D
analogous
#1D4695 #301D95 #6C1D95
triadic
#301D95 #95301D #1D9530
tetradic
#301D95 #951D46 #82951D #1D956C
square
#301D95 #951D46 #82951D #1D956C
split-complementary
#301D95 #956C1D #46951D
monochromatic
#0F092F #1F1362 #301D95 #4127C8 #6650DD

Accessibility & contrast

On white

12.10
#301D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#301D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301D95
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301D95#FFFFFF#000000##FFFFFF
##301D951.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #301d95;
/* rgb */ color: rgb(48, 29, 149);
/* oklch */ color: oklch(35.2% 0.181 278.9);
Tailwind
colors: {
  custom: {
    50: '#785db5',
    500: '#301d95',
    950: '#000000',
  },
}
SCSS
$custom: #301d95;
$custom-light: #785db5;
$custom-dark: #000000;
JSON
{
  "hex": "#301d95",
  "rgb": {
    "r": 48,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 249.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35218,
    "c": 0.18073,
    "h": 278.9
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#301D95
secondary
#AEC04E
accent
#EA3DCF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301D95

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

Preview Lab → · Contrast checker → · Palette generator →

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