#333DAC#333DAC

#333DAC is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.175 H 272.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#333DAC
RGBrgb(51, 61, 172)
HSLhsl(235, 54%, 44%)
HSVhsv(235, 70%, 67%)
CMYKcmyk(70.3%, 64.5%, 0%, 32.5%)
CIE-LABlab(31.85, 33.50, -60.53)
CIE-LCHlch(31.85, 69.18, 298.96°)
OKLaboklab(42.6% 0.0076 -0.1748)
OKLCHoklch(42.6% 0.175 272.5)
XYZxyz(10.4779, 7.0188, 39.8243)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333DAC #ACA233
analogous
#3379AC #333DAC #6533AC
triadic
#333DAC #AC333D #3DAC33
tetradic
#333DAC #AC3379 #ACA233 #33AC65
square
#333DAC #AC3379 #ACA233 #33AC65
split-complementary
#333DAC #AC6533 #79AC33
monochromatic
#171C4E #252C7D #333DAC #515BCB #8087D9

Accessibility & contrast

On white

8.74
#333DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#333DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333DAC
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333DAC#FFFFFF#000000##FFFFFF
##333DAC1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #333dac;
/* rgb */ color: rgb(51, 61, 172);
/* oklch */ color: oklch(42.6% 0.175 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b72c6',
    500: '#333dac',
    950: '#000000',
  },
}
SCSS
$custom: #333dac;
$custom-light: #7b72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#333dac",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 172
  },
  "hsl": {
    "h": 235.041,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42599,
    "c": 0.17495,
    "h": 272.5
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#333DAC
secondary
#C2BC78
accent
#D14ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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