#333DB6#333DB6

#333DB6 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.188 H 272.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#333DB6
RGBrgb(51, 61, 182)
HSLhsl(235, 56%, 46%)
HSVhsv(235, 72%, 71%)
CMYKcmyk(72%, 66.5%, 0%, 28.6%)
CIE-LABlab(32.74, 37.04, -65.02)
CIE-LCHlch(32.74, 74.83, 299.66°)
OKLaboklab(43.52% 0.0068 -0.1879)
OKLCHoklch(43.52% 0.188 272.1)
XYZxyz(11.4746, 7.4175, 45.0739)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DB6 #B6AC33
analogous
#337EB6 #333DB6 #6A33B6
triadic
#333DB6 #B6333D #3DB633
tetradic
#333DB6 #B6337E #B6AC33 #33B66A
square
#333DB6 #B6337E #B6AC33 #33B66A
split-complementary
#333DB6 #B66A33 #7EB633
monochromatic
#181D56 #262D86 #333DB6 #5660D0 #868DDD

Accessibility & contrast

On white

8.45
#333DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#333DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DB6
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DB6#FFFFFF#000000##FFFFFF
##333DB61.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #333db6;
/* rgb */ color: rgb(51, 61, 182);
/* oklch */ color: oklch(43.5% 0.188 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d73cd',
    500: '#333db6',
    950: '#000000',
  },
}
SCSS
$custom: #333db6;
$custom-light: #7d73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#333db6",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 235.42,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43522,
    "c": 0.18807,
    "h": 272.1
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#333DB6
secondary
#C7C17E
accent
#D448E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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