#3337AC#3337AC

#3337AC is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.182 H 273.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#3337AC
RGBrgb(51, 55, 172)
HSLhsl(238, 54%, 44%)
HSVhsv(238, 70%, 67%)
CMYKcmyk(70.3%, 68%, 0%, 32.5%)
CIE-LABlab(30.43, 37.27, -62.85)
CIE-LCHlch(30.43, 73.07, 300.67°)
OKLaboklab(41.57% 0.0117 -0.1816)
OKLCHoklch(41.57% 0.182 273.7)
XYZxyz(10.1753, 6.4138, 39.7235)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337AC #ACA833
analogous
#3373AC #3337AC #6B33AC
triadic
#3337AC #AC3337 #37AC33
tetradic
#3337AC #AC3373 #ACA833 #33AC6B
square
#3337AC #AC3373 #ACA833 #33AC6B
split-complementary
#3337AC #AC6B33 #73AC33
monochromatic
#17194E #25287D #3337AC #5155CB #8083D9

Accessibility & contrast

On white

9.20
#3337AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3337AC
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337AC#FFFFFF#000000##FFFFFF
##3337AC1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3337ac;
/* rgb */ color: rgb(51, 55, 172);
/* oklch */ color: oklch(41.6% 0.182 273.7);
Tailwind
colors: {
  custom: {
    50: '#7c6ec6',
    500: '#3337ac',
    950: '#000000',
  },
}
SCSS
$custom: #3337ac;
$custom-light: #7c6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#3337ac",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 238.017,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41567,
    "c": 0.18199,
    "h": 273.7
  },
  "luminance": 0.06415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3337AC

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

Preview Lab → · Contrast checker → · Palette generator →

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