#303596#303596

#303596 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.156 H 274.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#303596
RGBrgb(48, 53, 150)
HSLhsl(237, 52%, 39%)
HSVhsv(237, 68%, 59%)
CMYKcmyk(68%, 64.7%, 0%, 41.2%)
CIE-LABlab(27.78, 30.37, -53.88)
CIE-LCHlch(27.78, 61.85, 299.41°)
OKLaboklab(38.97% 0.0116 -0.1554)
OKLCHoklch(38.97% 0.156 274.3)
XYZxyz(7.9952, 5.3759, 29.4646)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303596 #969130
analogous
#306896 #303596 #5E3096
triadic
#303596 #963035 #359630
tetradic
#303596 #963068 #969130 #30965E
square
#303596 #963068 #969130 #30965E
split-complementary
#303596 #965E30 #689630
monochromatic
#121439 #212568 #303596 #4147C2 #6F74D1

Accessibility & contrast

On white

10.12
#303596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#303596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303596
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303596#FFFFFF#000000##FFFFFF
##3035961.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303596;
/* rgb */ color: rgb(48, 53, 150);
/* oklch */ color: oklch(39.0% 0.156 274.3);
Tailwind
colors: {
  custom: {
    50: '#766cb6',
    500: '#303596',
    950: '#000000',
  },
}
SCSS
$custom: #303596;
$custom-light: #766cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#303596",
  "rgb": {
    "r": 48,
    "g": 53,
    "b": 150
  },
  "hsl": {
    "h": 237.059,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38974,
    "c": 0.15585,
    "h": 274.3
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#303596
secondary
#B9B569
accent
#D44DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303596

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

Preview Lab → · Contrast checker → · Palette generator →

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