#3335A3#3335A3

#3335A3 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.173 H 274.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#3335A3
RGBrgb(51, 53, 163)
HSLhsl(239, 52%, 42%)
HSVhsv(239, 69%, 64%)
CMYKcmyk(68.7%, 67.5%, 0%, 36.1%)
CIE-LABlab(29.14, 35.38, -59.55)
CIE-LCHlch(29.14, 69.27, 300.72°)
OKLaboklab(40.38% 0.0141 -0.172)
OKLCHoklch(40.38% 0.173 274.7)
XYZxyz(9.2470, 5.8935, 35.2935)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335A3 #A3A133
analogous
#336DA3 #3335A3 #6933A3
triadic
#3335A3 #A33335 #35A333
tetradic
#3335A3 #A3336D #A3A133 #33A369
square
#3335A3 #A3336D #A3A133 #33A369
split-complementary
#3335A3 #A36933 #6DA333
monochromatic
#161746 #242674 #3335A3 #4C4EC7 #7B7CD6

Accessibility & contrast

On white

9.64
#3335A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3335A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335A3
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335A3#FFFFFF#000000##FFFFFF
##3335A31.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3335a3;
/* rgb */ color: rgb(51, 53, 163);
/* oklch */ color: oklch(40.4% 0.173 274.7);
Tailwind
colors: {
  custom: {
    50: '#7a6dbf',
    500: '#3335a3',
    950: '#000000',
  },
}
SCSS
$custom: #3335a3;
$custom-light: #7a6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3335a3",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 163
  },
  "hsl": {
    "h": 238.929,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40378,
    "c": 0.17255,
    "h": 274.7
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#3335A3
secondary
#BEBD73
accent
#D94CDC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3335A3

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

Preview Lab → · Contrast checker → · Palette generator →

#3335A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva