#333DB9#333DB9

#333DB9 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.8% C 0.192 H 271.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#333DB9
RGBrgb(51, 61, 185)
HSLhsl(236, 57%, 46%)
HSVhsv(236, 72%, 73%)
CMYKcmyk(72.4%, 67%, 0%, 27.5%)
CIE-LABlab(33.01, 38.09, -66.35)
CIE-LCHlch(33.01, 76.51, 299.86°)
OKLaboklab(43.8% 0.0065 -0.1918)
OKLCHoklch(43.8% 0.192 271.9)
XYZxyz(11.7880, 7.5429, 46.7242)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DB9 #B9AF33
analogous
#3380B9 #333DB9 #6C33B9
triadic
#333DB9 #B9333D #3DB933
tetradic
#333DB9 #B93380 #B9AF33 #33B96C
square
#333DB9 #B93380 #B9AF33 #33B96C
split-complementary
#333DB9 #B96C33 #80B933
monochromatic
#191D59 #262D89 #333DB9 #5861D1 #888FDE

Accessibility & contrast

On white

8.37
#333DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#333DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DB9
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DB9#FFFFFF#000000##FFFFFF
##333DB91.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #333db9;
/* rgb */ color: rgb(51, 61, 185);
/* oklch */ color: oklch(43.8% 0.192 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e73cf',
    500: '#333db9',
    950: '#000000',
  },
}
SCSS
$custom: #333db9;
$custom-light: #7e73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#333db9",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 185
  },
  "hsl": {
    "h": 235.522,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.19194,
    "h": 271.9
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#333DB9
secondary
#C8C380
accent
#D548E0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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