#3337AE#3337AE

#3337AE is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.185 H 273.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3337AE
RGBrgb(51, 55, 174)
HSLhsl(238, 55%, 44%)
HSVhsv(238, 71%, 68%)
CMYKcmyk(70.7%, 68.4%, 0%, 31.8%)
CIE-LABlab(30.62, 37.96, -63.74)
CIE-LCHlch(30.62, 74.19, 300.78°)
OKLaboklab(41.76% 0.0115 -0.1842)
OKLCHoklch(41.76% 0.185 273.6)
XYZxyz(10.3689, 6.4912, 40.7427)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337AE #AEAA33
analogous
#3375AE #3337AE #6D33AE
triadic
#3337AE #AE3337 #37AE33
tetradic
#3337AE #AE3375 #AEAA33 #33AE6D
square
#3337AE #AE3375 #AEAA33 #33AE6D
split-complementary
#3337AE #AE6D33 #75AE33
monochromatic
#17194F #25287F #3337AE #5256CC #8184DA

Accessibility & contrast

On white

9.14
#3337AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3337AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337AE
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337AE#FFFFFF#000000##FFFFFF
##3337AE1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3337ae;
/* rgb */ color: rgb(51, 55, 174);
/* oklch */ color: oklch(41.8% 0.185 273.6);
Tailwind
colors: {
  custom: {
    50: '#7c6ec7',
    500: '#3337ae',
    950: '#000000',
  },
}
SCSS
$custom: #3337ae;
$custom-light: #7c6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3337ae",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 174
  },
  "hsl": {
    "h": 238.049,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41759,
    "c": 0.18458,
    "h": 273.6
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#3337AE
secondary
#C3C179
accent
#D94ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3337AE

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

Preview Lab → · Contrast checker → · Palette generator →

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