#3335BD#3335BD

#3335BD is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.9% C 0.206 H 273.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3335BD
RGBrgb(51, 53, 189)
HSLhsl(239, 58%, 47%)
HSVhsv(239, 73%, 74%)
CMYKcmyk(73%, 72%, 0%, 25.9%)
CIE-LABlab(31.63, 44.27, -70.98)
CIE-LCHlch(31.63, 83.66, 301.95°)
OKLaboklab(42.92% 0.0106 -0.2054)
OKLCHoklch(42.92% 0.206 273)
XYZxyz(11.8206, 6.9229, 48.8475)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335BD #BDBB33
analogous
#337ABD #3335BD #7633BD
triadic
#3335BD #BD3335 #35BD33
tetradic
#3335BD #BD337A #BDBB33 #33BD76
square
#3335BD #BD337A #BDBB33 #33BD76
split-complementary
#3335BD #BD7633 #7ABD33
monochromatic
#191A5D #26278D #3335BD #5B5CD3 #8B8CE0

Accessibility & contrast

On white

8.81
#3335BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3335BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335BD
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335BD#FFFFFF#000000##FFFFFF
##3335BD1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0044BB
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3335bd;
/* rgb */ color: rgb(51, 53, 189);
/* oklch */ color: oklch(42.9% 0.206 273.0);
Tailwind
colors: {
  custom: {
    50: '#806dd2',
    500: '#3335bd',
    950: '#000000',
  },
}
SCSS
$custom: #3335bd;
$custom-light: #806dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3335bd",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 239.13,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42924,
    "c": 0.20563,
    "h": 273
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#3335BD
secondary
#CAC982
accent
#DF47E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3335BD

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

Preview Lab → · Contrast checker → · Palette generator →

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