#333790#333790

#333790 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.144 H 275.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#333790
RGBrgb(51, 55, 144)
HSLhsl(237, 48%, 38%)
HSVhsv(237, 65%, 56%)
CMYKcmyk(64.6%, 61.8%, 0%, 43.5%)
CIE-LABlab(27.98, 27.38, -49.86)
CIE-LCHlch(27.98, 56.89, 298.78°)
OKLaboklab(39.01% 0.0138 -0.1435)
OKLCHoklch(39.01% 0.144 275.5)
XYZxyz(7.7638, 5.4492, 27.0228)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333790 #908C33
analogous
#336590 #333790 #5D3390
triadic
#333790 #903337 #379033
tetradic
#333790 #903365 #908C33 #33905D
square
#333790 #903365 #908C33 #33905D
split-complementary
#333790 #905D33 #659033
monochromatic
#131436 #232663 #333790 #4449BD #7175CD

Accessibility & contrast

On white

10.05
#333790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#333790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333790
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333790#FFFFFF#000000##FFFFFF
##3337901.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #333790;
/* rgb */ color: rgb(51, 55, 144);
/* oklch */ color: oklch(39.0% 0.144 275.5);
Tailwind
colors: {
  custom: {
    50: '#766eb1',
    500: '#333790',
    950: '#000000',
  },
}
SCSS
$custom: #333790;
$custom-light: #766eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#333790",
  "rgb": {
    "r": 51,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 237.419,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39014,
    "c": 0.14419,
    "h": 275.5
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#333790
secondary
#B5B16A
accent
#D151D7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #333790

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

Preview Lab → · Contrast checker → · Palette generator →

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