#333490#333490

#333490 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.148 H 276.4°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#333490
RGBrgb(51, 52, 144)
HSLhsl(239, 48%, 38%)
HSVhsv(239, 65%, 56%)
CMYKcmyk(64.6%, 63.9%, 0%, 43.5%)
CIE-LABlab(27.22, 29.35, -51.09)
CIE-LCHlch(27.22, 58.92, 299.87°)
OKLaboklab(38.46% 0.0165 -0.1472)
OKLCHoklch(38.46% 0.148 276.4)
XYZxyz(7.6256, 5.1728, 26.9767)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333490 #908F33
analogous
#336290 #333490 #603390
triadic
#333490 #903334 #349033
tetradic
#333490 #903362 #908F33 #339060
square
#333490 #903362 #908F33 #339060
split-complementary
#333490 #906033 #629033
monochromatic
#131336 #232463 #333490 #4445BD #7172CD

Accessibility & contrast

On white

10.32
#333490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#333490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333490
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333490#FFFFFF#000000##FFFFFF
##3334901.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333490;
/* rgb */ color: rgb(51, 52, 144);
/* oklch */ color: oklch(38.5% 0.148 276.4);
Tailwind
colors: {
  custom: {
    50: '#766bb1',
    500: '#333490',
    950: '#000000',
  },
}
SCSS
$custom: #333490;
$custom-light: #766bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#333490",
  "rgb": {
    "r": 51,
    "g": 52,
    "b": 144
  },
  "hsl": {
    "h": 239.355,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38458,
    "c": 0.1481,
    "h": 276.4
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#333490
secondary
#B5B46A
accent
#D651D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #333490

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

Preview Lab → · Contrast checker → · Palette generator →

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