#3335CF#3335CF

#3335CF is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.8% C 0.227 H 271.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#3335CF
RGBrgb(51, 53, 207)
HSLhsl(239, 62%, 51%)
HSVhsv(239, 75%, 81%)
CMYKcmyk(75.4%, 74.4%, 0%, 18.8%)
CIE-LABlab(33.46, 50.20, -78.49)
CIE-LCHlch(33.46, 93.17, 302.60°)
OKLaboklab(44.78% 0.0076 -0.2272)
OKLCHoklch(44.78% 0.227 271.9)
XYZxyz(13.8970, 7.7535, 59.7836)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335CF #CFCD33
analogous
#3383CF #3335CF #7F33CF
triadic
#3335CF #CF3335 #35CF33
tetradic
#3335CF #CF3383 #CFCD33 #33CF7F
square
#3335CF #CF3383 #CFCD33 #33CF7F
split-complementary
#3335CF #CF7F33 #83CF33
monochromatic
#1A1B6E #25279F #3335CF #6566DB #9697E6

Accessibility & contrast

On white

8.23
#3335CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3335CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335CF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335CF#FFFFFF#000000##FFFFFF
##3335CF1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D3
Deuteranopia (green-blind)
#0047CC
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3335cf;
/* rgb */ color: rgb(51, 53, 207);
/* oklch */ color: oklch(44.8% 0.227 271.9);
Tailwind
colors: {
  custom: {
    50: '#846edf',
    500: '#3335cf',
    950: '#000000',
  },
}
SCSS
$custom: #3335cf;
$custom-light: #846edf;
$custom-dark: #000000;
JSON
{
  "hex": "#3335cf",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 239.231,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.44775,
    "c": 0.22733,
    "h": 271.9
  },
  "luminance": 0.07755
}

Semantic roles & 50–950 ramp

primary
#3335CF
secondary
#D2D18C
accent
#E343E5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3335CF

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

Preview Lab → · Contrast checker → · Palette generator →

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