#333296#333296

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

Color values

HEX#333296
RGBrgb(51, 50, 150)
HSLhsl(241, 50%, 39%)
HSVhsv(241, 67%, 59%)
CMYKcmyk(66%, 66.7%, 0%, 41.2%)
CIE-LABlab(27.26, 32.74, -54.72)
CIE-LCHlch(27.26, 63.77, 300.89°)
OKLaboklab(38.65% 0.0177 -0.1578)
OKLCHoklch(38.65% 0.159 276.4)
XYZxyz(8.0091, 5.1863, 29.4272)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333296 #959632
analogous
#326396 #333296 #653296
triadic
#333296 #963332 #329633
tetradic
#333296 #963263 #959632 #329665
square
#333296 #963263 #959632 #329665
split-complementary
#333296 #966532 #639632
monochromatic
#14133A #232368 #333296 #4644C1 #7372D0

Accessibility & contrast

On white

10.31
#333296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#333296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333296
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333296#FFFFFF#000000##FFFFFF
##3332961.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333296;
/* rgb */ color: rgb(51, 50, 150);
/* oklch */ color: oklch(38.6% 0.159 276.4);
Tailwind
colors: {
  custom: {
    50: '#776ab6',
    500: '#333296',
    950: '#000000',
  },
}
SCSS
$custom: #333296;
$custom-light: #776ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#333296",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 240.6,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38648,
    "c": 0.15882,
    "h": 276.4
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#333296
secondary
#B7B86C
accent
#DA4ED8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #333296

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

Preview Lab → · Contrast checker → · Palette generator →

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