#333DB5#333DB5

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

Color values

HEX#333DB5
RGBrgb(51, 61, 181)
HSLhsl(235, 56%, 45%)
HSVhsv(235, 72%, 71%)
CMYKcmyk(71.8%, 66.3%, 0%, 29%)
CIE-LABlab(32.65, 36.68, -64.58)
CIE-LCHlch(32.65, 74.27, 299.60°)
OKLaboklab(43.43% 0.0069 -0.1866)
OKLCHoklch(43.43% 0.187 272.1)
XYZxyz(11.3717, 7.3764, 44.5316)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DB5 #B5AB33
analogous
#337EB5 #333DB5 #6A33B5
triadic
#333DB5 #B5333D #3DB533
tetradic
#333DB5 #B5337E #B5AB33 #33B56A
square
#333DB5 #B5337E #B5AB33 #33B56A
split-complementary
#333DB5 #B56A33 #7EB533
monochromatic
#181D56 #262D85 #333DB5 #565FCF #868CDD

Accessibility & contrast

On white

8.48
#333DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333DB5
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DB5#FFFFFF#000000##FFFFFF
##333DB51.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #333db5;
/* rgb */ color: rgb(51, 61, 181);
/* oklch */ color: oklch(43.4% 0.187 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d73cc',
    500: '#333db5',
    950: '#000000',
  },
}
SCSS
$custom: #333db5;
$custom-light: #7d73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#333db5",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 235.385,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43429,
    "c": 0.18678,
    "h": 272.1
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#333DB5
secondary
#C6C17D
accent
#D448DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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