#333CAC#333CAC

#333CAC is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.176 H 272.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#333CAC
RGBrgb(51, 60, 172)
HSLhsl(236, 54%, 44%)
HSVhsv(236, 70%, 67%)
CMYKcmyk(70.3%, 65.1%, 0%, 32.5%)
CIE-LABlab(31.61, 34.13, -60.93)
CIE-LCHlch(31.61, 69.83, 299.26°)
OKLaboklab(42.42% 0.0083 -0.1759)
OKLCHoklch(42.42% 0.176 272.7)
XYZxyz(10.4250, 6.9131, 39.8067)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CAC #ACA333
analogous
#3378AC #333CAC #6633AC
triadic
#333CAC #AC333C #3CAC33
tetradic
#333CAC #AC3378 #ACA333 #33AC66
square
#333CAC #AC3378 #ACA333 #33AC66
split-complementary
#333CAC #AC6633 #78AC33
monochromatic
#171B4E #252C7D #333CAC #515ACB #8087D9

Accessibility & contrast

On white

8.81
#333CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#333CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CAC
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CAC#FFFFFF#000000##FFFFFF
##333CAC1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #333cac;
/* rgb */ color: rgb(51, 60, 172);
/* oklch */ color: oklch(42.4% 0.176 272.7);
Tailwind
colors: {
  custom: {
    50: '#7b72c6',
    500: '#333cac',
    950: '#000000',
  },
}
SCSS
$custom: #333cac;
$custom-light: #7b72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#333cac",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 235.537,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42423,
    "c": 0.17614,
    "h": 272.7
  },
  "luminance": 0.06914
}

Semantic roles & 50–950 ramp

primary
#333CAC
secondary
#C2BD78
accent
#D34ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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