#3334AC#3334AC

#3334AC is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.185 H 274.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#3334AC
RGBrgb(51, 52, 172)
HSLhsl(240, 54%, 44%)
HSVhsv(240, 70%, 67%)
CMYKcmyk(70.3%, 69.8%, 0%, 32.5%)
CIE-LABlab(29.76, 39.11, -63.96)
CIE-LCHlch(29.76, 74.97, 301.44°)
OKLaboklab(41.08% 0.0137 -0.1849)
OKLCHoklch(41.08% 0.185 274.2)
XYZxyz(10.0372, 6.1374, 39.6774)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334AC #ACAB33
analogous
#3370AC #3334AC #6E33AC
triadic
#3334AC #AC3334 #34AC33
tetradic
#3334AC #AC3370 #ACAB33 #33AC6E
square
#3334AC #AC3370 #ACAB33 #33AC6E
split-complementary
#3334AC #AC6E33 #70AC33
monochromatic
#17174E #25267D #3334AC #5152CB #8081D9

Accessibility & contrast

On white

9.43
#3334AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3334AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3334AC#FFFFFF#000000##FFFFFF
##3334AC1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3334ac;
/* rgb */ color: rgb(51, 52, 172);
/* oklch */ color: oklch(41.1% 0.185 274.2);
Tailwind
colors: {
  custom: {
    50: '#7c6cc6',
    500: '#3334ac',
    950: '#000000',
  },
}
SCSS
$custom: #3334ac;
$custom-light: #7c6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3334ac",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 239.504,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41078,
    "c": 0.18537,
    "h": 274.2
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#3334AC
secondary
#C2C278
accent
#DC4ADE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3334AC

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

Preview Lab → · Contrast checker → · Palette generator →

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