#3335AF#3335AF

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

Color values

HEX#3335AF
RGBrgb(51, 53, 175)
HSLhsl(239, 55%, 44%)
HSVhsv(239, 71%, 69%)
CMYKcmyk(70.9%, 69.7%, 0%, 31.4%)
CIE-LABlab(30.26, 39.53, -64.92)
CIE-LCHlch(30.26, 76.01, 301.34°)
OKLaboklab(41.53% 0.0126 -0.1877)
OKLCHoklch(41.53% 0.188 273.9)
XYZxyz(10.3736, 6.3442, 41.2270)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335AF #AFAD33
analogous
#3373AF #3335AF #6F33AF
triadic
#3335AF #AF3335 #35AF33
tetradic
#3335AF #AF3373 #AFAD33 #33AF6F
square
#3335AF #AF3373 #AFAD33 #33AF6F
split-complementary
#3335AF #AF6F33 #73AF33
monochromatic
#171850 #252780 #3335AF #5254CD #8283DB

Accessibility & contrast

On white

9.26
#3335AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3335AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335AF
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335AF#FFFFFF#000000##FFFFFF
##3335AF1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3335af;
/* rgb */ color: rgb(51, 53, 175);
/* oklch */ color: oklch(41.5% 0.188 273.9);
Tailwind
colors: {
  custom: {
    50: '#7d6dc8',
    500: '#3335af',
    950: '#000000',
  },
}
SCSS
$custom: #3335af;
$custom-light: #7d6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3335af",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 239.032,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41531,
    "c": 0.1881,
    "h": 273.9
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3335AF

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

Preview Lab → · Contrast checker → · Palette generator →

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