#3334AE#3334AE

#3334AE is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.188 H 274.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#3334AE
RGBrgb(51, 52, 174)
HSLhsl(240, 55%, 44%)
HSVhsv(240, 71%, 68%)
CMYKcmyk(70.7%, 70.1%, 0%, 31.8%)
CIE-LABlab(29.95, 39.79, -64.85)
CIE-LCHlch(29.95, 76.08, 301.54°)
OKLaboklab(41.27% 0.0134 -0.1874)
OKLCHoklch(41.27% 0.188 274.1)
XYZxyz(10.2307, 6.2148, 40.6966)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3334AE #AEAD33
analogous
#3372AE #3334AE #7033AE
triadic
#3334AE #AE3334 #34AE33
tetradic
#3334AE #AE3372 #AEAD33 #33AE70
square
#3334AE #AE3372 #AEAD33 #33AE70
split-complementary
#3334AE #AE7033 #72AE33
monochromatic
#17184F #25267F #3334AE #5253CC #8182DA

Accessibility & contrast

On white

9.36
#3334AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3334AE#FFFFFF#000000##FFFFFF
##3334AE1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3334ae;
/* rgb */ color: rgb(51, 52, 174);
/* oklch */ color: oklch(41.3% 0.188 274.1);
Tailwind
colors: {
  custom: {
    50: '#7c6cc7',
    500: '#3334ae',
    950: '#000000',
  },
}
SCSS
$custom: #3334ae;
$custom-light: #7c6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3334ae",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 239.512,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41274,
    "c": 0.18792,
    "h": 274.1
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3334AE

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

Preview Lab → · Contrast checker → · Palette generator →

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