#333390#333390

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

Color values

HEX#333390
RGBrgb(51, 51, 144)
HSLhsl(240, 48%, 38%)
HSVhsv(240, 65%, 56%)
CMYKcmyk(64.6%, 64.6%, 0%, 43.5%)
CIE-LABlab(26.97, 30.00, -51.50)
CIE-LCHlch(26.97, 59.60, 300.22°)
OKLaboklab(38.28% 0.0174 -0.1484)
OKLCHoklch(38.28% 0.149 276.7)
XYZxyz(7.5815, 5.0845, 26.9620)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333390 #909033
analogous
#336190 #333390 #613390
triadic
#333390 #903333 #339033
tetradic
#333390 #903361 #909033 #339061
square
#333390 #903361 #909033 #339061
split-complementary
#333390 #906133 #619033
monochromatic
#131336 #232363 #333390 #4444BD #7171CD

Accessibility & contrast

On white

10.41
#333390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#333390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333390
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333390#FFFFFF#000000##FFFFFF
##3333901.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333390;
/* rgb */ color: rgb(51, 51, 144);
/* oklch */ color: oklch(38.3% 0.149 276.7);
Tailwind
colors: {
  custom: {
    50: '#766bb1',
    500: '#333390',
    950: '#000000',
  },
}
SCSS
$custom: #333390;
$custom-light: #766bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#333390",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38277,
    "c": 0.14938,
    "h": 276.7
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#333390
secondary
#B5B56A
accent
#D751D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #333390

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

Preview Lab → · Contrast checker → · Palette generator →

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