#3335A7#3335A7

#3335A7 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.178 H 274.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#3335A7
RGBrgb(51, 53, 167)
HSLhsl(239, 53%, 43%)
HSVhsv(239, 69%, 65%)
CMYKcmyk(69.5%, 68.3%, 0%, 34.5%)
CIE-LABlab(29.51, 36.77, -61.36)
CIE-LCHlch(29.51, 71.54, 300.93°)
OKLaboklab(40.76% 0.0136 -0.1773)
OKLCHoklch(40.76% 0.178 274.4)
XYZxyz(9.6111, 6.0391, 37.2109)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335A7 #A7A533
analogous
#336FA7 #3335A7 #6B33A7
triadic
#3335A7 #A73335 #35A733
tetradic
#3335A7 #A7336F #A7A533 #33A76B
square
#3335A7 #A7336F #A7A533 #33A76B
split-complementary
#3335A7 #A76B33 #6FA733
monochromatic
#161749 #252678 #3335A7 #4E50C9 #7D7FD7

Accessibility & contrast

On white

9.51
#3335A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3335A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335A7
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335A7#FFFFFF#000000##FFFFFF
##3335A71.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3335a7;
/* rgb */ color: rgb(51, 53, 167);
/* oklch */ color: oklch(40.8% 0.178 274.4);
Tailwind
colors: {
  custom: {
    50: '#7b6dc2',
    500: '#3335a7',
    950: '#000000',
  },
}
SCSS
$custom: #3335a7;
$custom-light: #7b6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3335a7",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 238.966,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40758,
    "c": 0.17778,
    "h": 274.4
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#3335A7
secondary
#C0BF76
accent
#DA4BDD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3335A7

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

Preview Lab → · Contrast checker → · Palette generator →

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