#333286#333286

#333286 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.137 H 278.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#333286
RGBrgb(51, 50, 134)
HSLhsl(241, 46%, 36%)
HSVhsv(241, 63%, 53%)
CMYKcmyk(61.9%, 62.7%, 0%, 47.5%)
CIE-LABlab(25.88, 27.13, -47.08)
CIE-LCHlch(25.88, 54.33, 299.95°)
OKLaboklab(37.21% 0.0189 -0.1354)
OKLCHoklch(37.21% 0.137 278)
XYZxyz(6.8075, 4.7057, 23.0992)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333286 #858632
analogous
#325B86 #333286 #5D3286
triadic
#333286 #863332 #328633
tetradic
#333286 #86325B #858632 #32865D
square
#333286 #86325B #858632 #32865D
split-complementary
#333286 #865D32 #5B8632
monochromatic
#11112D #222159 #333286 #4443B3 #6C6BC8

Accessibility & contrast

On white

10.82
#333286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#333286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333286
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333286#FFFFFF#000000##FFFFFF
##3332861.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #333286;
/* rgb */ color: rgb(51, 50, 134);
/* oklch */ color: oklch(37.2% 0.137 278.0);
Tailwind
colors: {
  custom: {
    50: '#746aaa',
    500: '#333286',
    950: '#000000',
  },
}
SCSS
$custom: #333286;
$custom-light: #746aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#333286",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 240.714,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3721,
    "c": 0.1367,
    "h": 278
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#333286
secondary
#AEAF64
accent
#D552D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333286

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

Preview Lab → · Contrast checker → · Palette generator →

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