#3333CC#3333CC

#3333CC is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.2% C 0.226 H 272.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3333CC
RGBrgb(51, 51, 204)
HSLhsl(240, 60%, 50%)
HSVhsv(240, 75%, 80%)
CMYKcmyk(75%, 75%, 0%, 20%)
CIE-LABlab(32.77, 50.32, -77.90)
CIE-LCHlch(32.77, 92.74, 302.86°)
OKLaboklab(44.19% 0.009 -0.2255)
OKLCHoklch(44.19% 0.226 272.3)
XYZxyz(13.4445, 7.4297, 57.8405)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333CC #CCCC33
analogous
#337FCC #3333CC #7F33CC
triadic
#3333CC #CC3333 #33CC33
tetradic
#3333CC #CC3380 #CCCC33 #33CC80
square
#3333CC #CC3380 #CCCC33 #33CC80
split-complementary
#3333CC #CC8033 #80CC33
monochromatic
#1B1B6A #27279B #3333CC #6464D8 #9595E4

Accessibility & contrast

On white

8.45
#3333CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3333CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333CC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333CC#FFFFFF#000000##FFFFFF
##3333CC1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D0
Deuteranopia (green-blind)
#0045C9
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3333cc;
/* rgb */ color: rgb(51, 51, 204);
/* oklch */ color: oklch(44.2% 0.226 272.3);
Tailwind
colors: {
  custom: {
    50: '#836ddd',
    500: '#3333cc',
    950: '#000000',
  },
}
SCSS
$custom: #3333cc;
$custom-light: #836ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#3333cc",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.44188,
    "c": 0.22565,
    "h": 272.3
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#3333CC
secondary
#D0D08B
accent
#E345E3
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3333CC

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

Preview Lab → · Contrast checker → · Palette generator →

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