#3337CF#3337CF

#3337CF is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.1% C 0.225 H 271.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3337CF
RGBrgb(51, 55, 207)
HSLhsl(238, 62%, 51%)
HSVhsv(238, 75%, 81%)
CMYKcmyk(75.4%, 73.4%, 0%, 18.8%)
CIE-LABlab(33.86, 49.10, -77.84)
CIE-LCHlch(33.86, 92.03, 302.24°)
OKLaboklab(45.05% 0.0068 -0.2253)
OKLCHoklch(45.05% 0.225 271.7)
XYZxyz(13.9901, 7.9397, 59.8146)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337CF #CFCB33
analogous
#3385CF #3337CF #7D33CF
triadic
#3337CF #CF3337 #37CF33
tetradic
#3337CF #CF3385 #CFCB33 #33CF7D
square
#3337CF #CF3385 #CFCB33 #33CF7D
split-complementary
#3337CF #CF7D33 #85CF33
monochromatic
#1A1C6E #25299F #3337CF #6568DB #9698E6

Accessibility & contrast

On white

8.11
#3337CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3337CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337CF
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337CF#FFFFFF#000000##FFFFFF
##3337CF1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D3
Deuteranopia (green-blind)
#0048CC
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3337cf;
/* rgb */ color: rgb(51, 55, 207);
/* oklch */ color: oklch(45.1% 0.225 271.7);
Tailwind
colors: {
  custom: {
    50: '#8470df',
    500: '#3337cf',
    950: '#000000',
  },
}
SCSS
$custom: #3337cf;
$custom-light: #8470df;
$custom-dark: #000000;
JSON
{
  "hex": "#3337cf",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 238.462,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.22543,
    "h": 271.7
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#3337CF
secondary
#D2D08C
accent
#E143E5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3337CF

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

Preview Lab → · Contrast checker → · Palette generator →

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