#3335A5#3335A5

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

Color values

HEX#3335A5
RGBrgb(51, 53, 165)
HSLhsl(239, 53%, 42%)
HSVhsv(239, 69%, 65%)
CMYKcmyk(69.1%, 67.9%, 0%, 35.3%)
CIE-LABlab(29.33, 36.08, -60.46)
CIE-LCHlch(29.33, 70.41, 300.83°)
OKLaboklab(40.57% 0.0139 -0.1746)
OKLCHoklch(40.57% 0.175 274.5)
XYZxyz(9.4276, 5.9658, 36.2447)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335A5 #A5A333
analogous
#336EA5 #3335A5 #6A33A5
triadic
#3335A5 #A53335 #35A533
tetradic
#3335A5 #A5336E #A5A333 #33A56A
square
#3335A5 #A5336E #A5A333 #33A56A
split-complementary
#3335A5 #A56A33 #6EA533
monochromatic
#161748 #252676 #3335A5 #4D4FC8 #7C7ED6

Accessibility & contrast

On white

9.57
#3335A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3335A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335A5
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335A5#FFFFFF#000000##FFFFFF
##3335A51.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3335a5;
/* rgb */ color: rgb(51, 53, 165);
/* oklch */ color: oklch(40.6% 0.175 274.5);
Tailwind
colors: {
  custom: {
    50: '#7a6dc1',
    500: '#3335a5',
    950: '#000000',
  },
}
SCSS
$custom: #3335a5;
$custom-light: #7a6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3335a5",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 165
  },
  "hsl": {
    "h": 238.947,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40567,
    "c": 0.17517,
    "h": 274.5
  },
  "luminance": 0.05967
}

Semantic roles & 50–950 ramp

primary
#3335A5
secondary
#BFBE75
accent
#DA4CDC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3335A5

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

Preview Lab → · Contrast checker → · Palette generator →

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