#333DB3#333DB3

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

Color values

HEX#333DB3
RGBrgb(51, 61, 179)
HSLhsl(235, 56%, 45%)
HSVhsv(235, 72%, 70%)
CMYKcmyk(71.5%, 65.9%, 0%, 29.8%)
CIE-LABlab(32.47, 35.98, -63.69)
CIE-LCHlch(32.47, 73.15, 299.46°)
OKLaboklab(43.24% 0.0071 -0.184)
OKLCHoklch(43.24% 0.184 272.2)
XYZxyz(11.1679, 7.2949, 43.4586)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DB3 #B3A933
analogous
#337DB3 #333DB3 #6933B3
triadic
#333DB3 #B3333D #3DB333
tetradic
#333DB3 #B3337D #B3A933 #33B369
square
#333DB3 #B3337D #B3A933 #33B369
split-complementary
#333DB3 #B36933 #7DB333
monochromatic
#181D54 #252D83 #333DB3 #555ECE #848BDC

Accessibility & contrast

On white

8.54
#333DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#333DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DB3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DB3#FFFFFF#000000##FFFFFF
##333DB31.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333db3;
/* rgb */ color: rgb(51, 61, 179);
/* oklch */ color: oklch(43.2% 0.184 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d73cb',
    500: '#333db3',
    950: '#000000',
  },
}
SCSS
$custom: #333db3;
$custom-light: #7d73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#333db3",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 235.313,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43242,
    "c": 0.18417,
    "h": 272.2
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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