#3335C6#3335C6

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

Color values

HEX#3335C6
RGBrgb(51, 53, 198)
HSLhsl(239, 59%, 49%)
HSVhsv(239, 74%, 78%)
CMYKcmyk(74.2%, 73.2%, 0%, 22.4%)
CIE-LABlab(32.54, 47.26, -74.77)
CIE-LCHlch(32.54, 88.46, 302.29°)
OKLaboklab(43.84% 0.0092 -0.2164)
OKLCHoklch(43.84% 0.217 272.4)
XYZxyz(12.8280, 7.3259, 54.1531)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335C6 #C6C433
analogous
#337FC6 #3335C6 #7B33C6
triadic
#3335C6 #C63335 #35C633
tetradic
#3335C6 #C6337F #C6C433 #33C67B
square
#3335C6 #C6337F #C6C433 #33C67B
split-complementary
#3335C6 #C67B33 #7FC633
monochromatic
#1A1B65 #262895 #3335C6 #6062D6 #9192E3

Accessibility & contrast

On white

8.52
#3335C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3335C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335C6
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335C6#FFFFFF#000000##FFFFFF
##3335C61.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)
#0054CA
Deuteranopia (green-blind)
#0045C3
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3335c6;
/* rgb */ color: rgb(51, 53, 198);
/* oklch */ color: oklch(43.8% 0.217 272.4);
Tailwind
colors: {
  custom: {
    50: '#826ed9',
    500: '#3335c6',
    950: '#000000',
  },
}
SCSS
$custom: #3335c6;
$custom-light: #826ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3335c6",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 239.184,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43842,
    "c": 0.21659,
    "h": 272.4
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#3335C6
secondary
#CDCC87
accent
#E046E2
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3335C6

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

Preview Lab → · Contrast checker → · Palette generator →

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