#333485#333485

#333485 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.133 H 277.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#333485
RGBrgb(51, 52, 133)
HSLhsl(239, 45%, 36%)
HSVhsv(239, 62%, 52%)
CMYKcmyk(61.7%, 60.9%, 0%, 47.8%)
CIE-LABlab(26.31, 25.45, -45.75)
CIE-LCHlch(26.31, 52.35, 299.09°)
OKLaboklab(37.5% 0.017 -0.1315)
OKLCHoklch(37.5% 0.133 277.4)
XYZxyz(6.8255, 4.8527, 22.7627)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333485 #858433
analogous
#335D85 #333485 #5B3385
triadic
#333485 #853334 #348533
tetradic
#333485 #85335D #858433 #33855B
square
#333485 #85335D #858433 #33855B
split-complementary
#333485 #855B33 #5D8533
monochromatic
#11112D #222359 #333485 #4445B1 #6C6DC7

Accessibility & contrast

On white

10.66
#333485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#333485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333485
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333485#FFFFFF#000000##FFFFFF
##3334851.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #333485;
/* rgb */ color: rgb(51, 52, 133);
/* oklch */ color: oklch(37.5% 0.133 277.4);
Tailwind
colors: {
  custom: {
    50: '#746ba9',
    500: '#333485',
    950: '#000000',
  },
}
SCSS
$custom: #333485;
$custom-light: #746ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#333485",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 133
  },
  "hsl": {
    "h": 239.268,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37503,
    "c": 0.13255,
    "h": 277.4
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333485

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

Preview Lab → · Contrast checker → · Palette generator →

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