#303592#303592

#303592 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.150 H 274.5°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#303592
RGBrgb(48, 53, 146)
HSLhsl(237, 51%, 38%)
HSVhsv(237, 67%, 57%)
CMYKcmyk(67.1%, 63.7%, 0%, 42.7%)
CIE-LABlab(27.43, 28.94, -51.99)
CIE-LCHlch(27.43, 59.50, 299.10°)
OKLaboklab(38.61% 0.0119 -0.1499)
OKLCHoklch(38.61% 0.15 274.5)
XYZxyz(7.6786, 5.2492, 27.7971)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303592 #928D30
analogous
#306692 #303592 #5C3092
triadic
#303592 #923035 #359230
tetradic
#303592 #923066 #928D30 #30925C
square
#303592 #923066 #928D30 #30925C
split-complementary
#303592 #925C30 #669230
monochromatic
#121436 #212464 #303592 #3F46C0 #6D72CF

Accessibility & contrast

On white

10.24
#303592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#303592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303592
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303592#FFFFFF#000000##FFFFFF
##3035921.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #303592;
/* rgb */ color: rgb(48, 53, 146);
/* oklch */ color: oklch(38.6% 0.150 274.5);
Tailwind
colors: {
  custom: {
    50: '#756cb3',
    500: '#303592',
    950: '#000000',
  },
}
SCSS
$custom: #303592;
$custom-light: #756cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#303592",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 146
  },
  "hsl": {
    "h": 236.939,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38612,
    "c": 0.15034,
    "h": 274.5
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#303592
secondary
#B7B267
accent
#D34EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303592

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

Preview Lab → · Contrast checker → · Palette generator →

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