#333DB7#333DB7

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

Color values

HEX#333DB7
RGBrgb(51, 61, 183)
HSLhsl(235, 56%, 46%)
HSVhsv(235, 72%, 72%)
CMYKcmyk(72.1%, 66.7%, 0%, 28.2%)
CIE-LABlab(32.83, 37.39, -65.47)
CIE-LCHlch(32.83, 75.39, 299.73°)
OKLaboklab(43.62% 0.0067 -0.1892)
OKLCHoklch(43.62% 0.189 272)
XYZxyz(11.5783, 7.4590, 45.6201)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DB7 #B7AD33
analogous
#337FB7 #333DB7 #6B33B7
triadic
#333DB7 #B7333D #3DB733
tetradic
#333DB7 #B7337F #B7AD33 #33B76B
square
#333DB7 #B7337F #B7AD33 #33B76B
split-complementary
#333DB7 #B76B33 #7FB733
monochromatic
#181D57 #262D87 #333DB7 #5760D0 #878DDE

Accessibility & contrast

On white

8.43
#333DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#333DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DB7
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DB7#FFFFFF#000000##FFFFFF
##333DB71.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #333db7;
/* rgb */ color: rgb(51, 61, 183);
/* oklch */ color: oklch(43.6% 0.189 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e73ce',
    500: '#333db7',
    950: '#000000',
  },
}
SCSS
$custom: #333db7;
$custom-light: #7e73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#333db7",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 235.455,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43616,
    "c": 0.18936,
    "h": 272
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#333DB7
secondary
#C7C27F
accent
#D448E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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