#3337C5#3337C5

#3337C5 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.0% C 0.213 H 272.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3337C5
RGBrgb(51, 55, 197)
HSLhsl(238, 59%, 49%)
HSVhsv(238, 74%, 77%)
CMYKcmyk(74.1%, 72.1%, 0%, 22.7%)
CIE-LABlab(32.85, 45.79, -73.68)
CIE-LCHlch(32.85, 86.75, 301.86°)
OKLaboklab(44.03% 0.0084 -0.2132)
OKLCHoklch(44.03% 0.213 272.2)
XYZxyz(12.8061, 7.4661, 53.5787)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337C5 #C5C133
analogous
#3380C5 #3337C5 #7833C5
triadic
#3337C5 #C53337 #37C533
tetradic
#3337C5 #C53380 #C5C133 #33C578
square
#3337C5 #C53380 #C5C133 #33C578
split-complementary
#3337C5 #C57833 #80C533
monochromatic
#1A1C64 #262994 #3337C5 #5F63D6 #9092E2

Accessibility & contrast

On white

8.42
#3337C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3337C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337C5
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337C5#FFFFFF#000000##FFFFFF
##3337C51.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#0046C2
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3337c5;
/* rgb */ color: rgb(51, 55, 197);
/* oklch */ color: oklch(44.0% 0.213 272.2);
Tailwind
colors: {
  custom: {
    50: '#816fd8',
    500: '#3337c5',
    950: '#000000',
  },
}
SCSS
$custom: #3337c5;
$custom-light: #816fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3337c5",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 238.356,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44031,
    "c": 0.21338,
    "h": 272.2
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#3337C5
secondary
#CDCB87
accent
#DE46E2
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3337C5

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

Preview Lab → · Contrast checker → · Palette generator →

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