#333DB1#333DB1

#333DB1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.182 H 272.3°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#333DB1
RGBrgb(51, 61, 177)
HSLhsl(235, 55%, 45%)
HSVhsv(235, 71%, 69%)
CMYKcmyk(71.2%, 65.5%, 0%, 30.6%)
CIE-LABlab(32.29, 35.27, -62.79)
CIE-LCHlch(32.29, 72.02, 299.32°)
OKLaboklab(43.06% 0.0072 -0.1814)
OKLCHoklch(43.06% 0.182 272.3)
XYZxyz(10.9671, 7.2145, 42.4010)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DB1 #B1A733
analogous
#337CB1 #333DB1 #6833B1
triadic
#333DB1 #B1333D #3DB133
tetradic
#333DB1 #B1337C #B1A733 #33B168
square
#333DB1 #B1337C #B1A733 #33B168
split-complementary
#333DB1 #B16833 #7CB133
monochromatic
#181C52 #252D81 #333DB1 #545DCE #838ADB

Accessibility & contrast

On white

8.60
#333DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#333DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DB1
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DB1#FFFFFF#000000##FFFFFF
##333DB11.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #333db1;
/* rgb */ color: rgb(51, 61, 177);
/* oklch */ color: oklch(43.1% 0.182 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c72c9',
    500: '#333db1',
    950: '#000000',
  },
}
SCSS
$custom: #333db1;
$custom-light: #7c72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#333db1",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 235.238,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43057,
    "c": 0.18155,
    "h": 272.3
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#333DB1
secondary
#C5BF7B
accent
#D349DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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