#3337C2#3337C2

#3337C2 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.7% C 0.210 H 272.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#3337C2
RGBrgb(51, 55, 194)
HSLhsl(238, 58%, 48%)
HSVhsv(238, 74%, 76%)
CMYKcmyk(73.7%, 71.6%, 0%, 23.9%)
CIE-LABlab(32.55, 44.79, -72.42)
CIE-LCHlch(32.55, 85.15, 301.73°)
OKLaboklab(43.73% 0.0088 -0.2095)
OKLCHoklch(43.73% 0.21 272.4)
XYZxyz(12.4658, 7.3299, 51.7863)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3337C2 #C2BE33
analogous
#337EC2 #3337C2 #7733C2
triadic
#3337C2 #C23337 #37C233
tetradic
#3337C2 #C2337E #C2BE33 #33C277
square
#3337C2 #C2337E #C2BE33 #33C277
split-complementary
#3337C2 #C27733 #7EC233
monochromatic
#1A1C61 #262992 #3337C2 #5E61D5 #8E90E1

Accessibility & contrast

On white

8.52
#3337C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3337C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3337C2
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3337C2#FFFFFF#000000##FFFFFF
##3337C21.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3337c2;
/* rgb */ color: rgb(51, 55, 194);
/* oklch */ color: oklch(43.7% 0.210 272.4);
Tailwind
colors: {
  custom: {
    50: '#816fd6',
    500: '#3337c2',
    950: '#000000',
  },
}
SCSS
$custom: #3337c2;
$custom-light: #816fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3337c2",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 238.322,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43728,
    "c": 0.20973,
    "h": 272.4
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#3337C2
secondary
#CCCA85
accent
#DD46E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3337C2

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

Preview Lab → · Contrast checker → · Palette generator →

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