#333DB2#333DB2

#333DB2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.183 H 272.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#333DB2
RGBrgb(51, 61, 178)
HSLhsl(235, 55%, 45%)
HSVhsv(235, 71%, 70%)
CMYKcmyk(71.3%, 65.7%, 0%, 30.2%)
CIE-LABlab(32.38, 35.62, -63.24)
CIE-LCHlch(32.38, 72.58, 299.39°)
OKLaboklab(43.15% 0.0071 -0.1827)
OKLCHoklch(43.15% 0.183 272.2)
XYZxyz(11.0672, 7.2546, 42.9279)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DB2 #B2A833
analogous
#337CB2 #333DB2 #6933B2
triadic
#333DB2 #B2333D #3DB233
tetradic
#333DB2 #B2337C #B2A833 #33B269
square
#333DB2 #B2337C #B2A833 #33B269
split-complementary
#333DB2 #B26933 #7CB233
monochromatic
#181C53 #252D82 #333DB2 #545ECE #848BDC

Accessibility & contrast

On white

8.57
#333DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#333DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DB2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DB2#FFFFFF#000000##FFFFFF
##333DB21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #333db2;
/* rgb */ color: rgb(51, 61, 178);
/* oklch */ color: oklch(43.1% 0.183 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d73ca',
    500: '#333db2',
    950: '#000000',
  },
}
SCSS
$custom: #333db2;
$custom-light: #7d73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#333db2",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 235.276,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4315,
    "c": 0.18287,
    "h": 272.2
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#333DB2
secondary
#C5BF7C
accent
#D349DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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