#3331C0#3331C0

#3331C0 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.7% C 0.213 H 273.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#3331C0
RGBrgb(51, 49, 192)
HSLhsl(241, 59%, 47%)
HSVhsv(241, 74%, 75%)
CMYKcmyk(73.4%, 74.5%, 0%, 24.7%)
CIE-LABlab(31.13, 47.53, -73.58)
CIE-LCHlch(31.13, 87.60, 302.86°)
OKLaboklab(42.66% 0.0121 -0.2129)
OKLCHoklch(42.66% 0.213 273.2)
XYZxyz(11.9748, 6.7050, 50.5221)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3331C0 #BEC031
analogous
#3177C0 #3331C0 #7A31C0
triadic
#3331C0 #C03331 #31C033
tetradic
#3331C0 #C03177 #BEC031 #31C07A
square
#3331C0 #C03177 #BEC031 #31C07A
split-complementary
#3331C0 #C07A31 #77C031
monochromatic
#19185E #26258F #3331C0 #5B59D5 #8B8AE1

Accessibility & contrast

On white

8.97
#3331C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3331C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3331C0
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3331C0#FFFFFF#000000##FFFFFF
##3331C01.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0042BD
Tritanopia (blue-blind)
#005B76
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3331c0;
/* rgb */ color: rgb(51, 49, 192);
/* oklch */ color: oklch(42.7% 0.213 273.2);
Tailwind
colors: {
  custom: {
    50: '#816bd4',
    500: '#3331c0',
    950: '#000000',
  },
}
SCSS
$custom: #3331c0;
$custom-light: #816bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3331c0",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 240.839,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.21325,
    "h": 273.2
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#3331C0
secondary
#CACB82
accent
#E345E0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3331C0

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

Preview Lab → · Contrast checker → · Palette generator →

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