#3336CF#3336CF

#3336CF is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.9% C 0.226 H 271.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3336CF
RGBrgb(51, 54, 207)
HSLhsl(239, 62%, 51%)
HSVhsv(239, 75%, 81%)
CMYKcmyk(75.4%, 73.9%, 0%, 18.8%)
CIE-LABlab(33.66, 49.65, -78.17)
CIE-LCHlch(33.66, 92.60, 302.42°)
OKLaboklab(44.91% 0.0072 -0.2263)
OKLCHoklch(44.91% 0.226 271.8)
XYZxyz(13.9431, 7.8456, 59.7989)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336CF #CFCC33
analogous
#3384CF #3336CF #7E33CF
triadic
#3336CF #CF3336 #36CF33
tetradic
#3336CF #CF3384 #CFCC33 #33CF7E
square
#3336CF #CF3384 #CFCC33 #33CF7E
split-complementary
#3336CF #CF7E33 #84CF33
monochromatic
#1A1B6E #25289F #3336CF #6567DB #9698E6

Accessibility & contrast

On white

8.17
#3336CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3336CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336CF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336CF#FFFFFF#000000##FFFFFF
##3336CF1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3336cf;
/* rgb */ color: rgb(51, 54, 207);
/* oklch */ color: oklch(44.9% 0.226 271.8);
Tailwind
colors: {
  custom: {
    50: '#846fdf',
    500: '#3336cf',
    950: '#000000',
  },
}
SCSS
$custom: #3336cf;
$custom-light: #846fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#3336cf",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 238.846,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.44913,
    "c": 0.22639,
    "h": 271.8
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#3336CF
secondary
#D2D08C
accent
#E243E5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3336CF

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

Preview Lab → · Contrast checker → · Palette generator →

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