#333C92#333C92

#333C92 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.140 H 273.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#333C92
RGBrgb(51, 60, 146)
HSLhsl(234, 48%, 39%)
HSVhsv(234, 65%, 57%)
CMYKcmyk(65.1%, 58.9%, 0%, 42.7%)
CIE-LABlab(29.44, 24.79, -48.72)
CIE-LCHlch(29.44, 54.66, 296.97°)
OKLaboklab(40.15% 0.0091 -0.1401)
OKLCHoklch(40.15% 0.14 273.7)
XYZxyz(8.1677, 6.0102, 27.9182)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333C92 #928933
analogous
#336B92 #333C92 #593392
triadic
#333C92 #92333C #3C9233
tetradic
#333C92 #92336B #928933 #339259
square
#333C92 #92336B #928933 #339259
split-complementary
#333C92 #925933 #6B9233
monochromatic
#131737 #232965 #333C92 #4450BE #727ACE

Accessibility & contrast

On white

9.54
#333C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#333C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333C92
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333C92#FFFFFF#000000##FFFFFF
##333C921.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #333c92;
/* rgb */ color: rgb(51, 60, 146);
/* oklch */ color: oklch(40.1% 0.140 273.7);
Tailwind
colors: {
  custom: {
    50: '#7671b3',
    500: '#333c92',
    950: '#000000',
  },
}
SCSS
$custom: #333c92;
$custom-light: #7671b3;
$custom-dark: #000000;
JSON
{
  "hex": "#333c92",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 146
  },
  "hsl": {
    "h": 234.316,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.14041,
    "h": 273.7
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#333C92
secondary
#B6AF6B
accent
#CB50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #333C92

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

Preview Lab → · Contrast checker → · Palette generator →

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