#333DC4#333DC4

#333DC4 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.9% C 0.206 H 271.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#333DC4
RGBrgb(51, 61, 196)
HSLhsl(236, 59%, 48%)
HSVhsv(236, 74%, 77%)
CMYKcmyk(74%, 68.9%, 0%, 23.1%)
CIE-LABlab(34.04, 41.91, -71.13)
CIE-LCHlch(34.04, 82.56, 300.50°)
OKLaboklab(44.86% 0.0054 -0.2058)
OKLCHoklch(44.86% 0.206 271.5)
XYZxyz(12.9944, 8.0255, 53.0781)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DC4 #C4BA33
analogous
#3385C4 #333DC4 #7133C4
triadic
#333DC4 #C4333D #3DC433
tetradic
#333DC4 #C43385 #C4BA33 #33C471
square
#333DC4 #C43385 #C4BA33 #33C471
split-complementary
#333DC4 #C47133 #85C433
monochromatic
#1A1F63 #262E93 #333DC4 #5F67D5 #8F95E2

Accessibility & contrast

On white

8.06
#333DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333DC4
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DC4#FFFFFF#000000##FFFFFF
##333DC41.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333dc4;
/* rgb */ color: rgb(51, 61, 196);
/* oklch */ color: oklch(44.9% 0.206 271.5);
Tailwind
colors: {
  custom: {
    50: '#8173d7',
    500: '#333dc4',
    950: '#000000',
  },
}
SCSS
$custom: #333dc4;
$custom-light: #8173d7;
$custom-dark: #000000;
JSON
{
  "hex": "#333dc4",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 235.862,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.20588,
    "h": 271.5
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#333DC4
secondary
#CDC886
accent
#D746E2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #333DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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