#3335A6#3335A6

#3335A6 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.176 H 274.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#3335A6
RGBrgb(51, 53, 166)
HSLhsl(239, 53%, 43%)
HSVhsv(239, 69%, 65%)
CMYKcmyk(69.3%, 68.1%, 0%, 34.9%)
CIE-LABlab(29.42, 36.43, -60.91)
CIE-LCHlch(29.42, 70.97, 300.88°)
OKLaboklab(40.66% 0.0138 -0.1759)
OKLCHoklch(40.66% 0.176 274.5)
XYZxyz(9.5190, 6.0023, 36.7259)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335A6 #A6A433
analogous
#336EA6 #3335A6 #6B33A6
triadic
#3335A6 #A63335 #35A633
tetradic
#3335A6 #A6336E #A6A433 #33A66B
square
#3335A6 #A6336E #A6A433 #33A66B
split-complementary
#3335A6 #A66B33 #6EA633
monochromatic
#161748 #252677 #3335A6 #4E50C9 #7C7ED7

Accessibility & contrast

On white

9.54
#3335A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3335A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335A6
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335A6#FFFFFF#000000##FFFFFF
##3335A61.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3335a6;
/* rgb */ color: rgb(51, 53, 166);
/* oklch */ color: oklch(40.7% 0.176 274.5);
Tailwind
colors: {
  custom: {
    50: '#7b6dc1',
    500: '#3335a6',
    950: '#000000',
  },
}
SCSS
$custom: #3335a6;
$custom-light: #7b6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3335a6",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 166
  },
  "hsl": {
    "h": 238.957,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40662,
    "c": 0.17648,
    "h": 274.5
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#3335A6
secondary
#C0BE75
accent
#DA4BDC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3335A6

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

Preview Lab → · Contrast checker → · Palette generator →

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