#303C91#303C91

#303C91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.140 H 272.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#303C91
RGBrgb(48, 60, 145)
HSLhsl(233, 50%, 38%)
HSVhsv(233, 67%, 57%)
CMYKcmyk(66.9%, 58.6%, 0%, 43.1%)
CIE-LABlab(29.17, 23.92, -48.55)
CIE-LCHlch(29.17, 54.12, 296.23°)
OKLaboklab(39.87% 0.0057 -0.1397)
OKLCHoklch(39.87% 0.14 272.3)
XYZxyz(7.9439, 5.9037, 27.5035)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C91 #918530
analogous
#306D91 #303C91 #543091
triadic
#303C91 #91303C #3C9130
tetradic
#303C91 #91306D #918530 #309154
square
#303C91 #91306D #918530 #309154
split-complementary
#303C91 #915430 #6D9130
monochromatic
#121635 #212963 #303C91 #3F4FBF #6D79CF

Accessibility & contrast

On white

9.63
#303C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#303C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303C91
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C91#FFFFFF#000000##FFFFFF
##303C911.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #303c91;
/* rgb */ color: rgb(48, 60, 145);
/* oklch */ color: oklch(39.9% 0.140 272.3);
Tailwind
colors: {
  custom: {
    50: '#7471b2',
    500: '#303c91',
    950: '#000000',
  },
}
SCSS
$custom: #303c91;
$custom-light: #7471b2;
$custom-dark: #000000;
JSON
{
  "hex": "#303c91",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 232.577,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.13982,
    "h": 272.3
  },
  "luminance": 0.05904
}

Semantic roles & 50–950 ramp

primary
#303C91
secondary
#B6AC67
accent
#C84EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303C91

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

Preview Lab → · Contrast checker → · Palette generator →

#303C91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva