#3335CC#3335CC

#3335CC is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.5% C 0.224 H 272.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#3335CC
RGBrgb(51, 53, 204)
HSLhsl(239, 60%, 50%)
HSVhsv(239, 75%, 80%)
CMYKcmyk(75%, 74%, 0%, 20%)
CIE-LABlab(33.15, 49.23, -77.26)
CIE-LCHlch(33.15, 91.61, 302.50°)
OKLaboklab(44.46% 0.0081 -0.2236)
OKLCHoklch(44.46% 0.224 272.1)
XYZxyz(13.5338, 7.6082, 57.8703)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335CC #CCCA33
analogous
#3381CC #3335CC #7E33CC
triadic
#3335CC #CC3335 #35CC33
tetradic
#3335CC #CC3381 #CCCA33 #33CC7E
square
#3335CC #CC3381 #CCCA33 #33CC7E
split-complementary
#3335CC #CC7E33 #81CC33
monochromatic
#1B1C6A #27289B #3335CC #6465D8 #9596E4

Accessibility & contrast

On white

8.33
#3335CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3335CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335CC
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335CC#FFFFFF#000000##FFFFFF
##3335CC1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D0
Deuteranopia (green-blind)
#0046C9
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3335cc;
/* rgb */ color: rgb(51, 53, 204);
/* oklch */ color: oklch(44.5% 0.224 272.1);
Tailwind
colors: {
  custom: {
    50: '#836edd',
    500: '#3335cc',
    950: '#000000',
  },
}
SCSS
$custom: #3335cc;
$custom-light: #836edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3335cc",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 239.216,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.44462,
    "c": 0.22377,
    "h": 272.1
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#3335CC
secondary
#D0CF8B
accent
#E145E3
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3335CC

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

Preview Lab → · Contrast checker → · Palette generator →

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