#3334AA#3334AA

#3334AA is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.183 H 274.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#3334AA
RGBrgb(51, 52, 170)
HSLhsl(239, 54%, 43%)
HSVhsv(239, 70%, 67%)
CMYKcmyk(70%, 69.4%, 0%, 33.3%)
CIE-LABlab(29.57, 38.42, -63.08)
CIE-LCHlch(29.57, 73.86, 301.35°)
OKLaboklab(40.88% 0.0139 -0.1823)
OKLCHoklch(40.88% 0.183 274.4)
XYZxyz(9.8465, 6.0611, 38.6734)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334AA #AAA933
analogous
#336FAA #3334AA #6D33AA
triadic
#3334AA #AA3334 #34AA33
tetradic
#3334AA #AA336F #AAA933 #33AA6D
square
#3334AA #AA336F #AAA933 #33AA6D
split-complementary
#3334AA #AA6D33 #6FAA33
monochromatic
#17174C #25267B #3334AA #5051CA #7F80D9

Accessibility & contrast

On white

9.49
#3334AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3334AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3334AA
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3334AA#FFFFFF#000000##FFFFFF
##3334AA1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3334aa;
/* rgb */ color: rgb(51, 52, 170);
/* oklch */ color: oklch(40.9% 0.183 274.4);
Tailwind
colors: {
  custom: {
    50: '#7c6cc4',
    500: '#3334aa',
    950: '#000000',
  },
}
SCSS
$custom: #3334aa;
$custom-light: #7c6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3334aa",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 239.496,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40883,
    "c": 0.1828,
    "h": 274.4
  },
  "luminance": 0.06062
}

Semantic roles & 50–950 ramp

primary
#3334AA
secondary
#C2C177
accent
#DC4BDD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3334AA

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

Preview Lab → · Contrast checker → · Palette generator →

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