#3335AA#3335AA

#3335AA is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.182 H 274.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#3335AA
RGBrgb(51, 53, 170)
HSLhsl(239, 54%, 43%)
HSVhsv(239, 70%, 67%)
CMYKcmyk(70%, 68.8%, 0%, 33.3%)
CIE-LABlab(29.79, 37.81, -62.71)
CIE-LCHlch(29.79, 73.22, 301.09°)
OKLaboklab(41.05% 0.0133 -0.1812)
OKLCHoklch(41.05% 0.182 274.2)
XYZxyz(9.8916, 6.1514, 38.6885)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335AA #AAA833
analogous
#3370AA #3335AA #6C33AA
triadic
#3335AA #AA3335 #35AA33
tetradic
#3335AA #AA3370 #AAA833 #33AA6C
square
#3335AA #AA3370 #AAA833 #33AA6C
split-complementary
#3335AA #AA6C33 #70AA33
monochromatic
#17184C #25267B #3335AA #5052CA #7F80D9

Accessibility & contrast

On white

9.42
#3335AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3335AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3335AA#FFFFFF#000000##FFFFFF
##3335AA1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3335aa;
/* rgb */ color: rgb(51, 53, 170);
/* oklch */ color: oklch(41.0% 0.182 274.2);
Tailwind
colors: {
  custom: {
    50: '#7b6dc4',
    500: '#3335aa',
    950: '#000000',
  },
}
SCSS
$custom: #3335aa;
$custom-light: #7b6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3335aa",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 238.992,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41046,
    "c": 0.18168,
    "h": 274.2
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#3335AA
secondary
#C2C077
accent
#DB4BDD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3335AA

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

Preview Lab → · Contrast checker → · Palette generator →

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