#333292#333292

#333292 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.153 H 276.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#333292
RGBrgb(51, 50, 146)
HSLhsl(241, 49%, 38%)
HSVhsv(241, 66%, 57%)
CMYKcmyk(65.1%, 65.8%, 0%, 42.7%)
CIE-LABlab(26.90, 31.35, -52.85)
CIE-LCHlch(26.90, 61.44, 300.68°)
OKLaboklab(38.28% 0.0181 -0.1523)
OKLCHoklch(38.28% 0.153 276.8)
XYZxyz(7.6925, 5.0597, 27.7598)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333292 #919232
analogous
#326192 #333292 #633292
triadic
#333292 #923332 #329233
tetradic
#333292 #923261 #919232 #329263
square
#333292 #923261 #919232 #329263
split-complementary
#333292 #926332 #619232
monochromatic
#131337 #232264 #333292 #4443BF #7170CE

Accessibility & contrast

On white

10.44
#333292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#333292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333292
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333292#FFFFFF#000000##FFFFFF
##3332921.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #333292;
/* rgb */ color: rgb(51, 50, 146);
/* oklch */ color: oklch(38.3% 0.153 276.8);
Tailwind
colors: {
  custom: {
    50: '#766ab3',
    500: '#333292',
    950: '#000000',
  },
}
SCSS
$custom: #333292;
$custom-light: #766ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#333292",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 240.625,
    "s": 48.98,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3828,
    "c": 0.1534,
    "h": 276.8
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#333292
secondary
#B5B66A
accent
#D94FD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #333292

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

Preview Lab → · Contrast checker → · Palette generator →

#333292 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva