#3335C1#3335C1

#3335C1 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.3% C 0.211 H 272.7°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3335C1
RGBrgb(51, 53, 193)
HSLhsl(239, 58%, 48%)
HSVhsv(239, 74%, 76%)
CMYKcmyk(73.6%, 72.5%, 0%, 24.3%)
CIE-LABlab(32.03, 45.61, -72.68)
CIE-LCHlch(32.03, 85.80, 302.11°)
OKLaboklab(43.33% 0.01 -0.2103)
OKLCHoklch(43.33% 0.211 272.7)
XYZxyz(12.2608, 7.0990, 51.1658)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335C1 #C1BF33
analogous
#337CC1 #3335C1 #7833C1
triadic
#3335C1 #C13335 #35C133
tetradic
#3335C1 #C1337C #C1BF33 #33C178
square
#3335C1 #C1337C #C1BF33 #33C178
split-complementary
#3335C1 #C17833 #7CC133
monochromatic
#191A60 #262891 #3335C1 #5D5FD4 #8D8FE1

Accessibility & contrast

On white

8.68
#3335C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3335C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335C1
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335C1#FFFFFF#000000##FFFFFF
##3335C11.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C5
Deuteranopia (green-blind)
#0044BE
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3335c1;
/* rgb */ color: rgb(51, 53, 193);
/* oklch */ color: oklch(43.3% 0.211 272.7);
Tailwind
colors: {
  custom: {
    50: '#816ed5',
    500: '#3335c1',
    950: '#000000',
  },
}
SCSS
$custom: #3335c1;
$custom-light: #816ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3335c1",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 239.155,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4333,
    "c": 0.21053,
    "h": 272.7
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#3335C1
secondary
#CBCA84
accent
#DF46E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3335C1

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

Preview Lab → · Contrast checker → · Palette generator →

#3335C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva