#303696#303696

#303696 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.155 H 274.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#303696
RGBrgb(48, 54, 150)
HSLhsl(236, 52%, 39%)
HSVhsv(236, 68%, 59%)
CMYKcmyk(68%, 64%, 0%, 41.2%)
CIE-LABlab(28.03, 29.72, -53.47)
CIE-LCHlch(28.03, 61.18, 299.07°)
OKLaboklab(39.16% 0.0108 -0.1542)
OKLCHoklch(39.16% 0.155 274)
XYZxyz(8.0413, 5.4680, 29.4799)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303696 #969030
analogous
#306996 #303696 #5D3096
triadic
#303696 #963036 #369630
tetradic
#303696 #963069 #969030 #30965D
square
#303696 #963069 #969030 #30965D
split-complementary
#303696 #965D30 #699630
monochromatic
#121539 #212568 #303696 #4149C2 #6F75D1

Accessibility & contrast

On white

10.03
#303696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#303696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303696
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303696#FFFFFF#000000##FFFFFF
##3036961.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #303696;
/* rgb */ color: rgb(48, 54, 150);
/* oklch */ color: oklch(39.2% 0.155 274.0);
Tailwind
colors: {
  custom: {
    50: '#766db6',
    500: '#303696',
    950: '#000000',
  },
}
SCSS
$custom: #303696;
$custom-light: #766db6;
$custom-dark: #000000;
JSON
{
  "hex": "#303696",
  "rgb": {
    "r": 48,
    "g": 54,
    "b": 150
  },
  "hsl": {
    "h": 236.471,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39156,
    "c": 0.1546,
    "h": 274
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#303696
secondary
#B9B469
accent
#D34DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #303696

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

Preview Lab → · Contrast checker → · Palette generator →

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