#3335AE#3335AE

#3335AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.187 H 273.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#3335AE
RGBrgb(51, 53, 174)
HSLhsl(239, 55%, 44%)
HSVhsv(239, 71%, 68%)
CMYKcmyk(70.7%, 69.5%, 0%, 31.8%)
CIE-LABlab(30.17, 39.19, -64.48)
CIE-LCHlch(30.17, 75.46, 301.29°)
OKLaboklab(41.43% 0.0128 -0.1864)
OKLCHoklch(41.43% 0.187 273.9)
XYZxyz(10.2758, 6.3050, 40.7116)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335AE #AEAC33
analogous
#3373AE #3335AE #6F33AE
triadic
#3335AE #AE3335 #35AE33
tetradic
#3335AE #AE3373 #AEAC33 #33AE6F
square
#3335AE #AE3373 #AEAC33 #33AE6F
split-complementary
#3335AE #AE6F33 #73AE33
monochromatic
#17184F #25277F #3335AE #5254CC #8183DA

Accessibility & contrast

On white

9.29
#3335AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3335AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335AE
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335AE#FFFFFF#000000##FFFFFF
##3335AE1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3335ae;
/* rgb */ color: rgb(51, 53, 174);
/* oklch */ color: oklch(41.4% 0.187 273.9);
Tailwind
colors: {
  custom: {
    50: '#7c6dc7',
    500: '#3335ae',
    950: '#000000',
  },
}
SCSS
$custom: #3335ae;
$custom-light: #7c6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3335ae",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 239.024,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41434,
    "c": 0.18682,
    "h": 273.9
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#3335AE
secondary
#C3C279
accent
#DC4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3335AE

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

Preview Lab → · Contrast checker → · Palette generator →

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