#303C92#303C92

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

Color values

HEX#303C92
RGBrgb(48, 60, 146)
HSLhsl(233, 51%, 38%)
HSVhsv(233, 67%, 57%)
CMYKcmyk(67.1%, 58.9%, 0%, 42.7%)
CIE-LABlab(29.25, 24.29, -49.04)
CIE-LCHlch(29.25, 54.72, 296.35°)
OKLaboklab(39.95% 0.0057 -0.1411)
OKLCHoklch(39.95% 0.141 272.3)
XYZxyz(8.0214, 5.9347, 27.9113)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C92 #928630
analogous
#306D92 #303C92 #553092
triadic
#303C92 #92303C #3C9230
tetradic
#303C92 #92306D #928630 #309255
square
#303C92 #92306D #928630 #309255
split-complementary
#303C92 #925530 #6D9230
monochromatic
#121636 #212964 #303C92 #3F4FC0 #6D79CF

Accessibility & contrast

On white

9.60
#303C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#303C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303C92
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C92#FFFFFF#000000##FFFFFF
##303C921.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #303c92;
/* rgb */ color: rgb(48, 60, 146);
/* oklch */ color: oklch(40.0% 0.141 272.3);
Tailwind
colors: {
  custom: {
    50: '#7471b3',
    500: '#303c92',
    950: '#000000',
  },
}
SCSS
$custom: #303c92;
$custom-light: #7471b3;
$custom-dark: #000000;
JSON
{
  "hex": "#303c92",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 232.653,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39954,
    "c": 0.14125,
    "h": 272.3
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

primary
#303C92
secondary
#B7AD67
accent
#C94EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303C92

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

Preview Lab → · Contrast checker → · Palette generator →

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