#303992#303992

#303992 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.145 H 273.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#303992
RGBrgb(48, 57, 146)
HSLhsl(234, 51%, 38%)
HSVhsv(234, 67%, 57%)
CMYKcmyk(67.1%, 61%, 0%, 42.7%)
CIE-LABlab(28.46, 26.29, -50.32)
CIE-LCHlch(28.46, 56.77, 297.58°)
OKLaboklab(39.37% 0.0084 -0.1449)
OKLCHoklch(39.37% 0.145 273.3)
XYZxyz(7.8686, 5.6293, 27.8604)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303992 #928930
analogous
#306A92 #303992 #583092
triadic
#303992 #923039 #399230
tetradic
#303992 #92306A #928930 #309258
square
#303992 #92306A #928930 #309258
split-complementary
#303992 #925830 #6A9230
monochromatic
#121536 #212764 #303992 #3F4BC0 #6D76CF

Accessibility & contrast

On white

9.88
#303992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#303992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303992
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303992#FFFFFF#000000##FFFFFF
##3039921.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #303992;
/* rgb */ color: rgb(48, 57, 146);
/* oklch */ color: oklch(39.4% 0.145 273.3);
Tailwind
colors: {
  custom: {
    50: '#756fb3',
    500: '#303992',
    950: '#000000',
  },
}
SCSS
$custom: #303992;
$custom-light: #756fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#303992",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 146
  },
  "hsl": {
    "h": 234.49,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39367,
    "c": 0.14518,
    "h": 273.3
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#303992
secondary
#B7AF67
accent
#CD4EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303992

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

Preview Lab → · Contrast checker → · Palette generator →

#303992 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva