#333DB8#333DB8

#333DB8 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.191 H 272.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#333DB8
RGBrgb(51, 61, 184)
HSLhsl(235, 57%, 46%)
HSVhsv(235, 72%, 72%)
CMYKcmyk(72.3%, 66.8%, 0%, 27.8%)
CIE-LABlab(32.92, 37.74, -65.91)
CIE-LCHlch(32.92, 75.95, 299.79°)
OKLaboklab(43.71% 0.0066 -0.1905)
OKLCHoklch(43.71% 0.191 272)
XYZxyz(11.6828, 7.5008, 46.1702)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DB8 #B8AE33
analogous
#337FB8 #333DB8 #6B33B8
triadic
#333DB8 #B8333D #3DB833
tetradic
#333DB8 #B8337F #B8AE33 #33B86B
square
#333DB8 #B8337F #B8AE33 #33B86B
split-complementary
#333DB8 #B86B33 #7FB833
monochromatic
#181D58 #262D88 #333DB8 #5861D1 #888EDE

Accessibility & contrast

On white

8.40
#333DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#333DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DB8
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DB8#FFFFFF#000000##FFFFFF
##333DB81.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #333db8;
/* rgb */ color: rgb(51, 61, 184);
/* oklch */ color: oklch(43.7% 0.191 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e73ce',
    500: '#333db8',
    950: '#000000',
  },
}
SCSS
$custom: #333db8;
$custom-light: #7e73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#333db8",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 235.489,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.19065,
    "h": 272
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#333DB8
secondary
#C8C27F
accent
#D448E0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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