#3335BB#3335BB

#3335BB is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.7% C 0.203 H 273.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#3335BB
RGBrgb(51, 53, 187)
HSLhsl(239, 57%, 47%)
HSVhsv(239, 73%, 73%)
CMYKcmyk(72.7%, 71.7%, 0%, 26.7%)
CIE-LABlab(31.43, 43.60, -70.13)
CIE-LCHlch(31.43, 82.58, 301.87°)
OKLaboklab(42.72% 0.0109 -0.2029)
OKLCHoklch(42.72% 0.203 273.1)
XYZxyz(11.6050, 6.8367, 47.7121)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335BB #BBB933
analogous
#3379BB #3335BB #7533BB
triadic
#3335BB #BB3335 #35BB33
tetradic
#3335BB #BB3379 #BBB933 #33BB75
square
#3335BB #BB3379 #BBB933 #33BB75
split-complementary
#3335BB #BB7533 #79BB33
monochromatic
#191A5B #26278B #3335BB #595BD2 #898BDF

Accessibility & contrast

On white

8.87
#3335BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3335BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335BB
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335BB#FFFFFF#000000##FFFFFF
##3335BB1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0043B9
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3335bb;
/* rgb */ color: rgb(51, 53, 187);
/* oklch */ color: oklch(42.7% 0.203 273.1);
Tailwind
colors: {
  custom: {
    50: '#7f6dd1',
    500: '#3335bb',
    950: '#000000',
  },
}
SCSS
$custom: #3335bb;
$custom-light: #7f6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3335bb",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 239.118,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42722,
    "c": 0.20316,
    "h": 273.1
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#3335BB
secondary
#C9C881
accent
#DE47E0
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3335BB

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

Preview Lab → · Contrast checker → · Palette generator →

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