#303993#303993

#303993 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.147 H 273.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#303993
RGBrgb(48, 57, 147)
HSLhsl(235, 51%, 38%)
HSVhsv(235, 67%, 58%)
CMYKcmyk(67.3%, 61.2%, 0%, 42.4%)
CIE-LABlab(28.54, 26.66, -50.80)
CIE-LCHlch(28.54, 57.37, 297.69°)
OKLaboklab(39.45% 0.0084 -0.1463)
OKLCHoklch(39.45% 0.147 273.3)
XYZxyz(7.9468, 5.6605, 28.2719)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303993 #938A30
analogous
#306A93 #303993 #583093
triadic
#303993 #933039 #399330
tetradic
#303993 #93306A #938A30 #309358
square
#303993 #93306A #938A30 #309358
split-complementary
#303993 #935830 #6A9330
monochromatic
#121537 #212765 #303993 #404BC1 #6E77D0

Accessibility & contrast

On white

9.85
#303993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303993
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303993#FFFFFF#000000##FFFFFF
##3039931.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303993;
/* rgb */ color: rgb(48, 57, 147);
/* oklch */ color: oklch(39.5% 0.147 273.3);
Tailwind
colors: {
  custom: {
    50: '#756fb3',
    500: '#303993',
    950: '#000000',
  },
}
SCSS
$custom: #303993;
$custom-light: #756fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#303993",
  "rgb": {
    "r": 48,
    "g": 57,
    "b": 147
  },
  "hsl": {
    "h": 234.545,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39454,
    "c": 0.14659,
    "h": 273.3
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#303993
secondary
#B7B068
accent
#CD4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303993

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

Preview Lab → · Contrast checker → · Palette generator →

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