#333B96#333B96

#333B96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.147 H 273.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#333B96
RGBrgb(51, 59, 150)
HSLhsl(235, 49%, 39%)
HSVhsv(235, 66%, 59%)
CMYKcmyk(66%, 60.7%, 0%, 41.2%)
CIE-LABlab(29.50, 26.90, -51.07)
CIE-LCHlch(29.50, 57.72, 297.77°)
OKLaboklab(40.29% 0.01 -0.147)
OKLCHoklch(40.29% 0.147 273.9)
XYZxyz(8.4324, 6.0330, 29.5684)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333B96 #968E33
analogous
#336C96 #333B96 #5D3396
triadic
#333B96 #96333B #3B9633
tetradic
#333B96 #96336C #968E33 #33965D
square
#333B96 #96336C #968E33 #33965D
split-complementary
#333B96 #965D33 #6C9633
monochromatic
#14173B #232968 #333B96 #4650C0 #747BD0

Accessibility & contrast

On white

9.52
#333B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#333B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333B96
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333B96#FFFFFF#000000##FFFFFF
##333B961.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #333b96;
/* rgb */ color: rgb(51, 59, 150);
/* oklch */ color: oklch(40.3% 0.147 273.9);
Tailwind
colors: {
  custom: {
    50: '#7771b6',
    500: '#333b96',
    950: '#000000',
  },
}
SCSS
$custom: #333b96;
$custom-light: #7771b6;
$custom-dark: #000000;
JSON
{
  "hex": "#333b96",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 150
  },
  "hsl": {
    "h": 235.152,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.14739,
    "h": 273.9
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#333B96
secondary
#B8B26D
accent
#CE4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #333B96

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

Preview Lab → · Contrast checker → · Palette generator →

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