#3336C4#3336C4

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

Color values

HEX#3336C4
RGBrgb(51, 54, 196)
HSLhsl(239, 59%, 48%)
HSVhsv(239, 74%, 77%)
CMYKcmyk(74%, 72.4%, 0%, 23.1%)
CIE-LABlab(32.54, 46.03, -73.60)
CIE-LCHlch(32.54, 86.81, 302.02°)
OKLaboklab(43.78% 0.009 -0.213)
OKLCHoklch(43.78% 0.213 272.4)
XYZxyz(12.6449, 7.3263, 52.9616)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336C4 #C4C133
analogous
#337EC4 #3336C4 #7933C4
triadic
#3336C4 #C43336 #36C433
tetradic
#3336C4 #C4337E #C4C133 #33C479
square
#3336C4 #C4337E #C4C133 #33C479
split-complementary
#3336C4 #C47933 #7EC433
monochromatic
#1A1B63 #262993 #3336C4 #5F61D5 #8F91E2

Accessibility & contrast

On white

8.52
#3336C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3336C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336C4
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336C4#FFFFFF#000000##FFFFFF
##3336C41.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)
#0053C8
Deuteranopia (green-blind)
#0045C1
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3336c4;
/* rgb */ color: rgb(51, 54, 196);
/* oklch */ color: oklch(43.8% 0.213 272.4);
Tailwind
colors: {
  custom: {
    50: '#816ed7',
    500: '#3336c4',
    950: '#000000',
  },
}
SCSS
$custom: #3336c4;
$custom-light: #816ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3336c4",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 238.759,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43782,
    "c": 0.21318,
    "h": 272.4
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#3336C4
secondary
#CDCB86
accent
#DF46E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3336C4

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

Preview Lab → · Contrast checker → · Palette generator →

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