#333BD6#333BD6

#333BD6 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.3% C 0.230 H 271.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#333BD6
RGBrgb(51, 59, 214)
HSLhsl(237, 67%, 52%)
HSVhsv(237, 76%, 84%)
CMYKcmyk(76.2%, 72.4%, 0%, 16.1%)
CIE-LABlab(35.37, 49.15, -79.39)
CIE-LCHlch(35.37, 93.37, 301.76°)
OKLaboklab(46.34% 0.004 -0.2299)
OKLCHoklch(46.34% 0.23 271)
XYZxyz(15.0627, 8.6851, 64.4878)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333BD6 #D6CE33
analogous
#338DD6 #333BD6 #7C33D6
triadic
#333BD6 #D6333B #3BD633
tetradic
#333BD6 #D6338D #D6CE33 #33D67C
square
#333BD6 #D6338D #D6CE33 #33D67C
split-complementary
#333BD6 #D67C33 #8DD633
monochromatic
#181D77 #2229AA #333BD6 #666CE0 #999DEA

Accessibility & contrast

On white

7.67
#333BD6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#333BD6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333BD6
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333BD6#FFFFFF#000000##FFFFFF
##333BD61.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDB
Deuteranopia (green-blind)
#004BD3
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #333bd6;
/* rgb */ color: rgb(51, 59, 214);
/* oklch */ color: oklch(46.3% 0.230 271.0);
Tailwind
colors: {
  custom: {
    50: '#8572e4',
    500: '#333bd6',
    950: '#000000',
  },
}
SCSS
$custom: #333bd6;
$custom-light: #8572e4;
$custom-dark: #000000;
JSON
{
  "hex": "#333bd6",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 237.055,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46344,
    "c": 0.2299,
    "h": 271
  },
  "luminance": 0.08687
}

Semantic roles & 50–950 ramp

primary
#333BD6
secondary
#D6D38F
accent
#E13EE9
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #333BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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