#333CB2#333CB2

#333CB2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.184 H 272.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#333CB2
RGBrgb(51, 60, 178)
HSLhsl(236, 55%, 45%)
HSVhsv(236, 71%, 70%)
CMYKcmyk(71.3%, 66.3%, 0%, 30.2%)
CIE-LABlab(32.14, 36.25, -63.63)
CIE-LCHlch(32.14, 73.23, 299.67°)
OKLaboklab(42.98% 0.0078 -0.1839)
OKLCHoklch(42.98% 0.184 272.4)
XYZxyz(11.0143, 7.1488, 42.9102)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CB2 #B2A933
analogous
#337CB2 #333CB2 #6933B2
triadic
#333CB2 #B2333C #3CB233
tetradic
#333CB2 #B2337C #B2A933 #33B269
square
#333CB2 #B2337C #B2A933 #33B269
split-complementary
#333CB2 #B26933 #7CB233
monochromatic
#181C53 #252C82 #333CB2 #545DCE #848ADC

Accessibility & contrast

On white

8.64
#333CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#333CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CB2
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CB2#FFFFFF#000000##FFFFFF
##333CB21.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #333cb2;
/* rgb */ color: rgb(51, 60, 178);
/* oklch */ color: oklch(43.0% 0.184 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d72ca',
    500: '#333cb2',
    950: '#000000',
  },
}
SCSS
$custom: #333cb2;
$custom-light: #7d72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#333cb2",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 235.748,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42977,
    "c": 0.18403,
    "h": 272.4
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#333CB2
secondary
#C5C07C
accent
#D449DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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