#333284#333284

#333284 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.134 H 278.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#333284
RGBrgb(51, 50, 132)
HSLhsl(241, 45%, 36%)
HSVhsv(241, 62%, 52%)
CMYKcmyk(61.4%, 62.1%, 0%, 48.2%)
CIE-LABlab(25.71, 26.42, -46.09)
CIE-LCHlch(25.71, 53.13, 299.82°)
OKLaboklab(37.04% 0.019 -0.1325)
OKLCHoklch(37.04% 0.134 278.2)
XYZxyz(6.6694, 4.6505, 22.3715)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333284 #838432
analogous
#325A84 #333284 #5C3284
triadic
#333284 #843332 #328433
tetradic
#333284 #84325A #838432 #32845C
square
#333284 #84325A #838432 #32845C
split-complementary
#333284 #845C32 #5A8432
monochromatic
#11102B #222158 #333284 #4443B0 #6B6AC7

Accessibility & contrast

On white

10.88
#333284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#333284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333284
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333284#FFFFFF#000000##FFFFFF
##3332841.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #333284;
/* rgb */ color: rgb(51, 50, 132);
/* oklch */ color: oklch(37.0% 0.134 278.2);
Tailwind
colors: {
  custom: {
    50: '#746aa8',
    500: '#333284',
    950: '#000000',
  },
}
SCSS
$custom: #333284;
$custom-light: #746aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#333284",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 240.732,
    "s": 45.055,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37037,
    "c": 0.13385,
    "h": 278.2
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#333284
secondary
#ADAE64
accent
#D553D3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333284

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

Preview Lab → · Contrast checker → · Palette generator →

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