#303296#303296

#303296 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.160 H 275.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#303296
RGBrgb(48, 50, 150)
HSLhsl(239, 52%, 39%)
HSVhsv(239, 68%, 59%)
CMYKcmyk(68%, 66.7%, 0%, 41.2%)
CIE-LABlab(27.05, 32.31, -55.08)
CIE-LCHlch(27.05, 63.85, 300.40°)
OKLaboklab(38.44% 0.014 -0.1589)
OKLCHoklch(38.44% 0.16 275)
XYZxyz(7.8627, 5.1109, 29.4204)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303296 #969430
analogous
#306596 #303296 #613096
triadic
#303296 #963032 #329630
tetradic
#303296 #963065 #969430 #309661
square
#303296 #963065 #969430 #309661
split-complementary
#303296 #966130 #659630
monochromatic
#121339 #212368 #303296 #4144C2 #6F71D1

Accessibility & contrast

On white

10.38
#303296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#303296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303296
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303296#FFFFFF#000000##FFFFFF
##3032961.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #303296;
/* rgb */ color: rgb(48, 50, 150);
/* oklch */ color: oklch(38.4% 0.160 275.0);
Tailwind
colors: {
  custom: {
    50: '#766ab6',
    500: '#303296',
    950: '#000000',
  },
}
SCSS
$custom: #303296;
$custom-light: #766ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#303296",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 238.824,
    "s": 51.515,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38439,
    "c": 0.15955,
    "h": 275
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#303296
secondary
#B9B769
accent
#D84DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #303296

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

Preview Lab → · Contrast checker → · Palette generator →

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