#301E94#301E94

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

Color values

HEX#301E94
RGBrgb(48, 30, 148)
HSLhsl(249, 66%, 35%)
HSVhsv(249, 80%, 58%)
CMYKcmyk(67.6%, 79.7%, 0%, 42%)
CIE-LABlab(22.63, 43.32, -61.11)
CIE-LCHlch(22.63, 74.90, 305.34°)
OKLaboklab(35.23% 0.0277 -0.1765)
OKLCHoklch(35.23% 0.179 278.9)
XYZxyz(7.0268, 3.6945, 28.3540)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301E94 #82941E
analogous
#1E4794 #301E94 #6B1E94
triadic
#301E94 #94301E #1E9430
tetradic
#301E94 #941E47 #82941E #1E946B
square
#301E94 #941E47 #82941E #1E946B
split-complementary
#301E94 #946B1E #47941E
monochromatic
#0F092E #1F1461 #301E94 #4128C7 #6651DC

Accessibility & contrast

On white

12.08
#301E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301E94
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301E94#FFFFFF#000000##FFFFFF
##301E941.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301e94;
/* rgb */ color: rgb(48, 30, 148);
/* oklch */ color: oklch(35.2% 0.179 278.9);
Tailwind
colors: {
  custom: {
    50: '#775db5',
    500: '#301e94',
    950: '#000000',
  },
}
SCSS
$custom: #301e94;
$custom-light: #775db5;
$custom-dark: #000000;
JSON
{
  "hex": "#301e94",
  "rgb": {
    "r": 48,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 249.153,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35229,
    "c": 0.17862,
    "h": 278.9
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#301E94
secondary
#AEBF4F
accent
#E93FCF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301E94

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

Preview Lab → · Contrast checker → · Palette generator →

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