#333285#333285

#333285 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.135 H 278.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#333285
RGBrgb(51, 50, 133)
HSLhsl(241, 45%, 36%)
HSVhsv(241, 62%, 52%)
CMYKcmyk(61.7%, 62.4%, 0%, 47.8%)
CIE-LABlab(25.80, 26.78, -46.59)
CIE-LCHlch(25.80, 53.73, 299.89°)
OKLaboklab(37.12% 0.019 -0.1339)
OKLCHoklch(37.12% 0.135 278.1)
XYZxyz(6.7381, 4.6780, 22.7336)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333285 #848532
analogous
#325A85 #333285 #5C3285
triadic
#333285 #853332 #328533
tetradic
#333285 #85325A #848532 #32855C
square
#333285 #85325A #848532 #32855C
split-complementary
#333285 #855C32 #5A8532
monochromatic
#11112C #222159 #333285 #4443B1 #6B6AC7

Accessibility & contrast

On white

10.85
#333285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333285
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333285#FFFFFF#000000##FFFFFF
##3332851.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333285;
/* rgb */ color: rgb(51, 50, 133);
/* oklch */ color: oklch(37.1% 0.135 278.1);
Tailwind
colors: {
  custom: {
    50: '#746aa9',
    500: '#333285',
    950: '#000000',
  },
}
SCSS
$custom: #333285;
$custom-light: #746aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#333285",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 240.723,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37123,
    "c": 0.13528,
    "h": 278.1
  },
  "luminance": 0.04678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333285

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

Preview Lab → · Contrast checker → · Palette generator →

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