#3337AB#3337AB

#3337AB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.181 H 273.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3337AB
RGBrgb(51, 55, 171)
HSLhsl(238, 54%, 44%)
HSVhsv(238, 70%, 67%)
CMYKcmyk(70.2%, 67.8%, 0%, 32.9%)
CIE-LABlab(30.34, 36.92, -62.40)
CIE-LCHlch(30.34, 72.51, 300.61°)
OKLaboklab(41.47% 0.0118 -0.1803)
OKLCHoklch(41.47% 0.181 273.8)
XYZxyz(10.0797, 6.3755, 39.2196)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337AB #ABA733
analogous
#3373AB #3337AB #6B33AB
triadic
#3337AB #AB3337 #37AB33
tetradic
#3337AB #AB3373 #ABA733 #33AB6B
square
#3337AB #AB3373 #ABA733 #33AB6B
split-complementary
#3337AB #AB6B33 #73AB33
monochromatic
#17194D #25287C #3337AB #5054CB #7F82D9

Accessibility & contrast

On white

9.23
#3337AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3337AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337AB
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337AB#FFFFFF#000000##FFFFFF
##3337AB1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3337ab;
/* rgb */ color: rgb(51, 55, 171);
/* oklch */ color: oklch(41.5% 0.181 273.8);
Tailwind
colors: {
  custom: {
    50: '#7b6ec5',
    500: '#3337ab',
    950: '#000000',
  },
}
SCSS
$custom: #3337ab;
$custom-light: #7b6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3337ab",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 238,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41472,
    "c": 0.18069,
    "h": 273.8
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#3337AB
secondary
#C2C078
accent
#D94ADD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3337AB

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

Preview Lab → · Contrast checker → · Palette generator →

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