#3335B6#3335B6

#3335B6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.197 H 273.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#3335B6
RGBrgb(51, 53, 182)
HSLhsl(239, 56%, 46%)
HSVhsv(239, 72%, 71%)
CMYKcmyk(72%, 70.9%, 0%, 28.6%)
CIE-LABlab(30.94, 41.91, -67.98)
CIE-LCHlch(30.94, 79.86, 301.66°)
OKLaboklab(42.22% 0.0117 -0.1966)
OKLCHoklch(42.22% 0.197 273.4)
XYZxyz(11.0790, 6.6263, 44.9420)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335B6 #B6B433
analogous
#3376B6 #3335B6 #7233B6
triadic
#3335B6 #B63335 #35B633
tetradic
#3335B6 #B63376 #B6B433 #33B672
square
#3335B6 #B63376 #B6B433 #33B672
split-complementary
#3335B6 #B67233 #76B633
monochromatic
#181956 #262786 #3335B6 #5658D0 #8688DD

Accessibility & contrast

On white

9.03
#3335B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3335B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335B6
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335B6#FFFFFF#000000##FFFFFF
##3335B61.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3335b6;
/* rgb */ color: rgb(51, 53, 182);
/* oklch */ color: oklch(42.2% 0.197 273.4);
Tailwind
colors: {
  custom: {
    50: '#7e6dcd',
    500: '#3335b6',
    950: '#000000',
  },
}
SCSS
$custom: #3335b6;
$custom-light: #7e6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3335b6",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 182
  },
  "hsl": {
    "h": 239.084,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42222,
    "c": 0.19694,
    "h": 273.4
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#3335B6
secondary
#C7C67E
accent
#DD48E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3335B6

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

Preview Lab → · Contrast checker → · Palette generator →

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