#333DB4#333DB4

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

Color values

HEX#333DB4
RGBrgb(51, 61, 180)
HSLhsl(235, 56%, 45%)
HSVhsv(235, 72%, 71%)
CMYKcmyk(71.7%, 66.1%, 0%, 29.4%)
CIE-LABlab(32.56, 36.33, -64.13)
CIE-LCHlch(32.56, 73.71, 299.53°)
OKLaboklab(43.34% 0.007 -0.1853)
OKLCHoklch(43.34% 0.185 272.2)
XYZxyz(11.2694, 7.3355, 43.9931)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DB4 #B4AA33
analogous
#337DB4 #333DB4 #6A33B4
triadic
#333DB4 #B4333D #3DB433
tetradic
#333DB4 #B4337D #B4AA33 #33B46A
square
#333DB4 #B4337D #B4AA33 #33B46A
split-complementary
#333DB4 #B46A33 #7DB433
monochromatic
#181D55 #252D84 #333DB4 #555FCF #858CDC

Accessibility & contrast

On white

8.51
#333DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#333DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DB4
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DB4#FFFFFF#000000##FFFFFF
##333DB41.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #333db4;
/* rgb */ color: rgb(51, 61, 180);
/* oklch */ color: oklch(43.3% 0.185 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d73cb',
    500: '#333db4',
    950: '#000000',
  },
}
SCSS
$custom: #333db4;
$custom-light: #7d73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#333db4",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 235.349,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43335,
    "c": 0.18547,
    "h": 272.2
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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