#333190#333190

#333190 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.152 H 277.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#333190
RGBrgb(51, 49, 144)
HSLhsl(241, 49%, 38%)
HSVhsv(241, 66%, 56%)
CMYKcmyk(64.6%, 66%, 0%, 43.5%)
CIE-LABlab(26.49, 31.29, -52.29)
CIE-LCHlch(26.49, 60.94, 300.89°)
OKLaboklab(37.92% 0.0192 -0.1507)
OKLCHoklch(37.92% 0.152 277.2)
XYZxyz(7.4960, 4.9134, 26.9335)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333190 #8E9031
analogous
#315E90 #333190 #623190
triadic
#333190 #903331 #319033
tetradic
#333190 #90315E #8E9031 #319062
square
#333190 #90315E #8E9031 #319062
split-complementary
#333190 #906231 #5E9031
monochromatic
#131235 #232162 #333190 #4341BE #706ECE

Accessibility & contrast

On white

10.59
#333190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#333190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333190
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333190#FFFFFF#000000##FFFFFF
##3331901.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #333190;
/* rgb */ color: rgb(51, 49, 144);
/* oklch */ color: oklch(37.9% 0.152 277.2);
Tailwind
colors: {
  custom: {
    50: '#7669b1',
    500: '#333190',
    950: '#000000',
  },
}
SCSS
$custom: #333190;
$custom-light: #7669b1;
$custom-dark: #000000;
JSON
{
  "hex": "#333190",
  "rgb": {
    "r": 51,
    "g": 49,
    "b": 144
  },
  "hsl": {
    "h": 241.263,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37921,
    "c": 0.15192,
    "h": 277.2
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#333190
secondary
#B4B568
accent
#D94FD6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #333190

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

Preview Lab → · Contrast checker → · Palette generator →

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