#333DC5#333DC5

#333DC5 is a dark, highly saturated blue. Relative luminance 0.081; OKLCH L 45.0% C 0.207 H 271.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#333DC5
RGBrgb(51, 61, 197)
HSLhsl(236, 59%, 49%)
HSVhsv(236, 74%, 77%)
CMYKcmyk(74.1%, 69%, 0%, 22.7%)
CIE-LABlab(34.13, 42.25, -71.56)
CIE-LCHlch(34.13, 83.11, 300.56°)
OKLaboklab(44.95% 0.0053 -0.2071)
OKLCHoklch(44.95% 0.207 271.5)
XYZxyz(13.1086, 8.0711, 53.6795)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DC5 #C5BB33
analogous
#3386C5 #333DC5 #7233C5
triadic
#333DC5 #C5333D #3DC533
tetradic
#333DC5 #C53386 #C5BB33 #33C572
square
#333DC5 #C53386 #C5BB33 #33C572
split-complementary
#333DC5 #C57233 #86C533
monochromatic
#1A1F64 #262E94 #333DC5 #5F68D6 #9096E2

Accessibility & contrast

On white

8.03
#333DC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#333DC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DC5
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DC5#FFFFFF#000000##FFFFFF
##333DC51.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.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: #333dc5;
/* rgb */ color: rgb(51, 61, 197);
/* oklch */ color: oklch(45.0% 0.207 271.5);
Tailwind
colors: {
  custom: {
    50: '#8173d8',
    500: '#333dc5',
    950: '#000000',
  },
}
SCSS
$custom: #333dc5;
$custom-light: #8173d8;
$custom-dark: #000000;
JSON
{
  "hex": "#333dc5",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 235.89,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.20713,
    "h": 271.5
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#333DC5
secondary
#CDC887
accent
#D746E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #333DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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