#3333C4#3333C4

#3333C4 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.4% C 0.216 H 272.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#3333C4
RGBrgb(51, 51, 196)
HSLhsl(240, 59%, 48%)
HSVhsv(240, 74%, 77%)
CMYKcmyk(74%, 74%, 0%, 23.1%)
CIE-LABlab(31.93, 47.72, -74.60)
CIE-LCHlch(31.93, 88.56, 302.61°)
OKLaboklab(43.35% 0.0104 -0.2159)
OKLCHoklch(43.35% 0.216 272.8)
XYZxyz(12.5095, 7.0557, 52.9165)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333C4 #C4C433
analogous
#337BC4 #3333C4 #7B33C4
triadic
#3333C4 #C43333 #33C433
tetradic
#3333C4 #C4337B #C4C433 #33C47B
square
#3333C4 #C4337B #C4C433 #33C47B
split-complementary
#3333C4 #C47B33 #7BC433
monochromatic
#1A1A63 #262693 #3333C4 #5F5FD5 #8F8FE2

Accessibility & contrast

On white

8.71
#3333C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3333C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333C4
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333C4#FFFFFF#000000##FFFFFF
##3333C41.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#0044C1
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3333c4;
/* rgb */ color: rgb(51, 51, 196);
/* oklch */ color: oklch(43.4% 0.216 272.8);
Tailwind
colors: {
  custom: {
    50: '#826dd7',
    500: '#3333c4',
    950: '#000000',
  },
}
SCSS
$custom: #3333c4;
$custom-light: #826dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3333c4",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 240,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43351,
    "c": 0.21613,
    "h": 272.8
  },
  "luminance": 0.07057
}

Semantic roles & 50–950 ramp

primary
#3333C4
secondary
#CDCD86
accent
#E246E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3333C4

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

Preview Lab → · Contrast checker → · Palette generator →

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