#333385#333385

#333385 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.134 H 277.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#333385
RGBrgb(51, 51, 133)
HSLhsl(240, 45%, 36%)
HSVhsv(240, 62%, 52%)
CMYKcmyk(61.7%, 61.7%, 0%, 47.8%)
CIE-LABlab(26.05, 26.12, -46.17)
CIE-LCHlch(26.05, 53.04, 299.49°)
OKLaboklab(37.31% 0.018 -0.1327)
OKLCHoklch(37.31% 0.134 277.7)
XYZxyz(6.7813, 4.7644, 22.7480)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333385 #858533
analogous
#335C85 #333385 #5C3385
triadic
#333385 #853333 #338533
tetradic
#333385 #85335C #858533 #33855C
square
#333385 #85335C #858533 #33855C
split-complementary
#333385 #855C33 #5C8533
monochromatic
#11112D #222259 #333385 #4444B1 #6C6CC7

Accessibility & contrast

On white

10.75
#333385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#333385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333385
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333385#FFFFFF#000000##FFFFFF
##3333851.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333385;
/* rgb */ color: rgb(51, 51, 133);
/* oklch */ color: oklch(37.3% 0.134 277.7);
Tailwind
colors: {
  custom: {
    50: '#746ba9',
    500: '#333385',
    950: '#000000',
  },
}
SCSS
$custom: #333385;
$custom-light: #746ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#333385",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 240,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37312,
    "c": 0.13392,
    "h": 277.7
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#333385
secondary
#AEAE65
accent
#D454D4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #333385

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

Preview Lab → · Contrast checker → · Palette generator →

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