#333CB1#333CB1

#333CB1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.183 H 272.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#333CB1
RGBrgb(51, 60, 177)
HSLhsl(236, 55%, 45%)
HSVhsv(236, 71%, 69%)
CMYKcmyk(71.2%, 66.1%, 0%, 30.6%)
CIE-LABlab(32.05, 35.90, -63.18)
CIE-LCHlch(32.05, 72.67, 299.61°)
OKLaboklab(42.88% 0.0079 -0.1825)
OKLCHoklch(42.88% 0.183 272.5)
XYZxyz(10.9142, 7.1088, 42.3834)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CB1 #B1A833
analogous
#337BB1 #333CB1 #6933B1
triadic
#333CB1 #B1333C #3CB133
tetradic
#333CB1 #B1337B #B1A833 #33B169
square
#333CB1 #B1337B #B1A833 #33B169
split-complementary
#333CB1 #B16933 #7BB133
monochromatic
#181C52 #252C81 #333CB1 #545CCE #8389DB

Accessibility & contrast

On white

8.67
#333CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#333CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CB1
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CB1#FFFFFF#000000##FFFFFF
##333CB11.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #333cb1;
/* rgb */ color: rgb(51, 60, 177);
/* oklch */ color: oklch(42.9% 0.183 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c72c9',
    500: '#333cb1',
    950: '#000000',
  },
}
SCSS
$custom: #333cb1;
$custom-light: #7c72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#333cb1",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 235.714,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42884,
    "c": 0.18272,
    "h": 272.5
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#333CB1
secondary
#C5BF7B
accent
#D449DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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