#333CB8#333CB8

#333CB8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.192 H 272.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#333CB8
RGBrgb(51, 60, 184)
HSLhsl(236, 57%, 46%)
HSVhsv(236, 72%, 72%)
CMYKcmyk(72.3%, 67.4%, 0%, 27.8%)
CIE-LABlab(32.69, 38.36, -66.29)
CIE-LCHlch(32.69, 76.59, 300.06°)
OKLaboklab(43.54% 0.0073 -0.1916)
OKLCHoklch(43.54% 0.192 272.2)
XYZxyz(11.6299, 7.3950, 46.1526)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CB8 #B8AF33
analogous
#337EB8 #333CB8 #6C33B8
triadic
#333CB8 #B8333C #3CB833
tetradic
#333CB8 #B8337E #B8AF33 #33B86C
square
#333CB8 #B8337E #B8AF33 #33B86C
split-complementary
#333CB8 #B86C33 #7EB833
monochromatic
#181D58 #262C88 #333CB8 #5860D1 #888DDE

Accessibility & contrast

On white

8.47
#333CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#333CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CB8
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CB8#FFFFFF#000000##FFFFFF
##333CB81.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #333cb8;
/* rgb */ color: rgb(51, 60, 184);
/* oklch */ color: oklch(43.5% 0.192 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e72ce',
    500: '#333cb8',
    950: '#000000',
  },
}
SCSS
$custom: #333cb8;
$custom-light: #7e72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#333cb8",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 235.94,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43542,
    "c": 0.19179,
    "h": 272.2
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#333CB8
secondary
#C8C37F
accent
#D648E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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