#3334AD#3334AD

#3334AD is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.187 H 274.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3334AD
RGBrgb(51, 52, 173)
HSLhsl(240, 54%, 44%)
HSVhsv(240, 71%, 68%)
CMYKcmyk(70.5%, 69.9%, 0%, 32.2%)
CIE-LABlab(29.85, 39.45, -64.40)
CIE-LCHlch(29.85, 75.53, 301.49°)
OKLaboklab(41.18% 0.0135 -0.1862)
OKLCHoklch(41.18% 0.187 274.2)
XYZxyz(10.1336, 6.1760, 40.1851)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334AD #ADAC33
analogous
#3371AD #3334AD #6F33AD
triadic
#3334AD #AD3334 #34AD33
tetradic
#3334AD #AD3371 #ADAC33 #33AD6F
square
#3334AD #AD3371 #ADAC33 #33AD6F
split-complementary
#3334AD #AD6F33 #71AD33
monochromatic
#17184E #25267E #3334AD #5152CC #8181DA

Accessibility & contrast

On white

9.39
#3334AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3334AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3334AD#FFFFFF#000000##FFFFFF
##3334AD1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0041AB
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3334ad;
/* rgb */ color: rgb(51, 52, 173);
/* oklch */ color: oklch(41.2% 0.187 274.2);
Tailwind
colors: {
  custom: {
    50: '#7c6cc7',
    500: '#3334ad',
    950: '#000000',
  },
}
SCSS
$custom: #3334ad;
$custom-light: #7c6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3334ad",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 239.508,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41176,
    "c": 0.18665,
    "h": 274.2
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#3334AD
secondary
#C3C279
accent
#DD4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3334AD

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

Preview Lab → · Contrast checker → · Palette generator →

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