#333D92#333D92

#333D92 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.139 H 273.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#333D92
RGBrgb(51, 61, 146)
HSLhsl(234, 48%, 39%)
HSVhsv(234, 65%, 57%)
CMYKcmyk(65.1%, 58.2%, 0%, 42.7%)
CIE-LABlab(29.70, 24.12, -48.29)
CIE-LCHlch(29.70, 53.98, 296.55°)
OKLaboklab(40.34% 0.0082 -0.1388)
OKLCHoklch(40.34% 0.139 273.4)
XYZxyz(8.2206, 6.1159, 27.9358)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333D92 #928833
analogous
#336C92 #333D92 #583392
triadic
#333D92 #92333D #3D9233
tetradic
#333D92 #92336C #928833 #339258
square
#333D92 #92336C #928833 #339258
split-complementary
#333D92 #925833 #6C9233
monochromatic
#131737 #232A65 #333D92 #4451BE #727BCE

Accessibility & contrast

On white

9.44
#333D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#333D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333D92
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333D92#FFFFFF#000000##FFFFFF
##333D921.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333d92;
/* rgb */ color: rgb(51, 61, 146);
/* oklch */ color: oklch(40.3% 0.139 273.4);
Tailwind
colors: {
  custom: {
    50: '#7672b3',
    500: '#333d92',
    950: '#000000',
  },
}
SCSS
$custom: #333d92;
$custom-light: #7672b3;
$custom-dark: #000000;
JSON
{
  "hex": "#333d92",
  "rgb": {
    "r": 51,
    "g": 61,
    "b": 146
  },
  "hsl": {
    "h": 233.684,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40344,
    "c": 0.13908,
    "h": 273.4
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#333D92
secondary
#B6AE6B
accent
#CA50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #333D92

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

Preview Lab → · Contrast checker → · Palette generator →

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