#333191#333191

#333191 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.153 H 277.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#333191
RGBrgb(51, 49, 145)
HSLhsl(241, 49%, 38%)
HSVhsv(241, 66%, 57%)
CMYKcmyk(64.8%, 66.2%, 0%, 43.1%)
CIE-LABlab(26.58, 31.64, -52.77)
CIE-LCHlch(26.58, 61.52, 300.94°)
OKLaboklab(38.01% 0.0191 -0.1521)
OKLCHoklch(38.01% 0.153 277.1)
XYZxyz(7.5727, 4.9442, 27.3378)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333191 #8F9131
analogous
#315F91 #333191 #633191
triadic
#333191 #913331 #319133
tetradic
#333191 #91315F #8F9131 #319163
square
#333191 #91315F #8F9131 #319163
split-complementary
#333191 #916331 #5F9131
monochromatic
#131236 #232263 #333191 #4341BF #706ECE

Accessibility & contrast

On white

10.56
#333191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#333191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333191
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333191#FFFFFF#000000##FFFFFF
##3331911.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #333191;
/* rgb */ color: rgb(51, 49, 145);
/* oklch */ color: oklch(38.0% 0.153 277.1);
Tailwind
colors: {
  custom: {
    50: '#7669b2',
    500: '#333191',
    950: '#000000',
  },
}
SCSS
$custom: #333191;
$custom-light: #7669b2;
$custom-dark: #000000;
JSON
{
  "hex": "#333191",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 241.25,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38012,
    "c": 0.15328,
    "h": 277.1
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#333191
secondary
#B4B668
accent
#D94FD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #333191

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

Preview Lab → · Contrast checker → · Palette generator →

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