#333290#333290

#333290 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.151 H 277.0°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#333290
RGBrgb(51, 50, 144)
HSLhsl(241, 48%, 38%)
HSVhsv(241, 65%, 56%)
CMYKcmyk(64.6%, 65.3%, 0%, 43.5%)
CIE-LABlab(26.73, 30.65, -51.90)
CIE-LCHlch(26.73, 60.27, 300.56°)
OKLaboklab(38.1% 0.0183 -0.1495)
OKLCHoklch(38.1% 0.151 277)
XYZxyz(7.5383, 4.9980, 26.9476)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333290 #8F9032
analogous
#326090 #333290 #623290
triadic
#333290 #903332 #329033
tetradic
#333290 #903260 #8F9032 #329062
square
#333290 #903260 #8F9032 #329062
split-complementary
#333290 #906232 #609032
monochromatic
#131235 #232263 #333290 #4342BD #706FCD

Accessibility & contrast

On white

10.50
#333290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#333290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333290
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333290#FFFFFF#000000##FFFFFF
##3332901.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333290;
/* rgb */ color: rgb(51, 50, 144);
/* oklch */ color: oklch(38.1% 0.151 277.0);
Tailwind
colors: {
  custom: {
    50: '#766ab1',
    500: '#333290',
    950: '#000000',
  },
}
SCSS
$custom: #333290;
$custom-light: #766ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#333290",
  "rgb": {
    "r": 51,
    "g": 50,
    "b": 144
  },
  "hsl": {
    "h": 240.638,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38098,
    "c": 0.15066,
    "h": 277
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#333290
secondary
#B4B569
accent
#D850D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #333290

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

Preview Lab → · Contrast checker → · Palette generator →

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