#3331C5#3331C5

#3331C5 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.2% C 0.219 H 272.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3331C5
RGBrgb(51, 49, 197)
HSLhsl(241, 60%, 48%)
HSVhsv(241, 75%, 77%)
CMYKcmyk(74.1%, 75.1%, 0%, 22.7%)
CIE-LABlab(31.65, 49.15, -75.66)
CIE-LCHlch(31.65, 90.22, 303.01°)
OKLaboklab(43.18% 0.0111 -0.2189)
OKLCHoklch(43.18% 0.219 272.9)
XYZxyz(12.5382, 6.9303, 53.4894)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3331C5 #C3C531
analogous
#3179C5 #3331C5 #7D31C5
triadic
#3331C5 #C53331 #31C533
tetradic
#3331C5 #C53179 #C3C531 #31C57D
square
#3331C5 #C53179 #C3C531 #31C57D
split-complementary
#3331C5 #C57D31 #79C531
monochromatic
#1A1963 #262594 #3331C5 #5E5DD7 #8F8EE3

Accessibility & contrast

On white

8.80
#3331C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3331C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3331C5
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3331C5#FFFFFF#000000##FFFFFF
##3331C51.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C9
Deuteranopia (green-blind)
#0043C2
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3331c5;
/* rgb */ color: rgb(51, 49, 197);
/* oklch */ color: oklch(43.2% 0.219 272.9);
Tailwind
colors: {
  custom: {
    50: '#826bd8',
    500: '#3331c5',
    950: '#000000',
  },
}
SCSS
$custom: #3331c5;
$custom-light: #826bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3331c5",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 240.811,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4318,
    "c": 0.21922,
    "h": 272.9
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#3331C5
secondary
#CCCD85
accent
#E344E1
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3331C5

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

Preview Lab → · Contrast checker → · Palette generator →

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