#3335AB#3335AB

#3335AB is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.183 H 274.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#3335AB
RGBrgb(51, 53, 171)
HSLhsl(239, 54%, 44%)
HSVhsv(239, 70%, 67%)
CMYKcmyk(70.2%, 69%, 0%, 32.9%)
CIE-LABlab(29.89, 38.16, -63.15)
CIE-LCHlch(29.89, 73.78, 301.14°)
OKLaboklab(41.14% 0.0132 -0.1825)
OKLCHoklch(41.14% 0.183 274.1)
XYZxyz(9.9866, 6.1893, 39.1885)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335AB #ABA933
analogous
#3371AB #3335AB #6D33AB
triadic
#3335AB #AB3335 #35AB33
tetradic
#3335AB #AB3371 #ABA933 #33AB6D
square
#3335AB #AB3371 #ABA933 #33AB6D
split-complementary
#3335AB #AB6D33 #71AB33
monochromatic
#17184D #25267C #3335AB #5052CB #7F81D9

Accessibility & contrast

On white

9.38
#3335AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3335AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335AB
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335AB#FFFFFF#000000##FFFFFF
##3335AB1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3335ab;
/* rgb */ color: rgb(51, 53, 171);
/* oklch */ color: oklch(41.1% 0.183 274.1);
Tailwind
colors: {
  custom: {
    50: '#7c6dc5',
    500: '#3335ab',
    950: '#000000',
  },
}
SCSS
$custom: #3335ab;
$custom-light: #7c6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3335ab",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 239,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41142,
    "c": 0.18296,
    "h": 274.1
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#3335AB
secondary
#C2C178
accent
#DB4ADD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3335AB

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

Preview Lab → · Contrast checker → · Palette generator →

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