#333CB9#333CB9

#333CB9 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.193 H 272.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#333CB9
RGBrgb(51, 60, 185)
HSLhsl(236, 57%, 46%)
HSVhsv(236, 72%, 73%)
CMYKcmyk(72.4%, 67.6%, 0%, 27.5%)
CIE-LABlab(32.78, 38.71, -66.73)
CIE-LCHlch(32.78, 77.14, 300.12°)
OKLaboklab(43.64% 0.0072 -0.1929)
OKLCHoklch(43.64% 0.193 272.1)
XYZxyz(11.7351, 7.4371, 46.7066)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CB9 #B9B033
analogous
#337FB9 #333CB9 #6D33B9
triadic
#333CB9 #B9333C #3CB933
tetradic
#333CB9 #B9337F #B9B033 #33B96D
square
#333CB9 #B9337F #B9B033 #33B96D
split-complementary
#333CB9 #B96D33 #7FB933
monochromatic
#191D59 #262C89 #333CB9 #5860D1 #888EDE

Accessibility & contrast

On white

8.44
#333CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#333CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CB9
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CB9#FFFFFF#000000##FFFFFF
##333CB91.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0047B7
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #333cb9;
/* rgb */ color: rgb(51, 60, 185);
/* oklch */ color: oklch(43.6% 0.193 272.1);
Tailwind
colors: {
  custom: {
    50: '#7e72cf',
    500: '#333cb9',
    950: '#000000',
  },
}
SCSS
$custom: #333cb9;
$custom-light: #7e72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#333cb9",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 235.97,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43637,
    "c": 0.19307,
    "h": 272.1
  },
  "luminance": 0.07438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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