#333DD6#333DD6

#333DD6 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.6% C 0.228 H 270.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#333DD6
RGBrgb(51, 61, 214)
HSLhsl(236, 67%, 52%)
HSVhsv(236, 76%, 84%)
CMYKcmyk(76.2%, 71.5%, 0%, 16.1%)
CIE-LABlab(35.78, 48.01, -78.71)
CIE-LCHlch(35.78, 92.20, 301.38°)
OKLaboklab(46.64% 0.0032 -0.2279)
OKLCHoklch(46.64% 0.228 270.8)
XYZxyz(15.1675, 8.8947, 64.5228)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DD6 #D6CC33
analogous
#338FD6 #333DD6 #7B33D6
triadic
#333DD6 #D6333D #3DD633
tetradic
#333DD6 #D6338F #D6CC33 #33D67B
square
#333DD6 #D6338F #D6CC33 #33D67B
split-complementary
#333DD6 #D67B33 #8FD633
monochromatic
#181E77 #222AAA #333DD6 #666DE0 #999EEA

Accessibility & contrast

On white

7.56
#333DD6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#333DD6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DD6
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DD6#FFFFFF#000000##FFFFFF
##333DD61.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDB
Deuteranopia (green-blind)
#004CD3
Tritanopia (blue-blind)
#006986
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #333dd6;
/* rgb */ color: rgb(51, 61, 214);
/* oklch */ color: oklch(46.6% 0.228 270.8);
Tailwind
colors: {
  custom: {
    50: '#8574e4',
    500: '#333dd6',
    950: '#000000',
  },
}
SCSS
$custom: #333dd6;
$custom-light: #8574e4;
$custom-dark: #000000;
JSON
{
  "hex": "#333dd6",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 236.319,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46637,
    "c": 0.22792,
    "h": 270.8
  },
  "luminance": 0.08896
}

Semantic roles & 50–950 ramp

primary
#333DD6
secondary
#D6D28F
accent
#DF3EE9
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #333DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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