#333CC5#333CC5

#333CC5 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.8% C 0.208 H 271.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#333CC5
RGBrgb(51, 60, 197)
HSLhsl(236, 59%, 49%)
HSVhsv(236, 74%, 77%)
CMYKcmyk(74.1%, 69.5%, 0%, 22.7%)
CIE-LABlab(33.91, 42.85, -71.93)
CIE-LCHlch(33.91, 83.72, 300.78°)
OKLaboklab(44.8% 0.0058 -0.2081)
OKLCHoklch(44.8% 0.208 271.6)
XYZxyz(13.0557, 7.9654, 53.6619)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CC5 #C5BC33
analogous
#3385C5 #333CC5 #7333C5
triadic
#333CC5 #C5333C #3CC533
tetradic
#333CC5 #C53385 #C5BC33 #33C573
square
#333CC5 #C53385 #C5BC33 #33C573
split-complementary
#333CC5 #C57333 #85C533
monochromatic
#1A1E64 #262D94 #333CC5 #5F67D6 #9095E2

Accessibility & contrast

On white

8.10
#333CC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#333CC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CC5
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CC5#FFFFFF#000000##FFFFFF
##333CC51.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #333cc5;
/* rgb */ color: rgb(51, 60, 197);
/* oklch */ color: oklch(44.8% 0.208 271.6);
Tailwind
colors: {
  custom: {
    50: '#8172d8',
    500: '#333cc5',
    950: '#000000',
  },
}
SCSS
$custom: #333cc5;
$custom-light: #8172d8;
$custom-dark: #000000;
JSON
{
  "hex": "#333cc5",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 236.301,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44796,
    "c": 0.2082,
    "h": 271.6
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#333CC5
secondary
#CDC987
accent
#D846E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #333CC5

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

Preview Lab → · Contrast checker → · Palette generator →

#333CC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva