#324790#324790

#324790 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.123 H 268.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#324790
RGBrgb(50, 71, 144)
HSLhsl(227, 48%, 38%)
HSVhsv(227, 65%, 56%)
CMYKcmyk(65.3%, 50.7%, 0%, 43.5%)
CIE-LABlab(32.25, 16.49, -42.95)
CIE-LCHlch(32.25, 46.00, 291.01°)
OKLaboklab(42.2% -0.003 -0.123)
OKLCHoklch(42.2% 0.123 268.6)
XYZxyz(8.6010, 7.1974, 27.3161)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#324790 #907B32
analogous
#327690 #324790 #4C3290
triadic
#324790 #903247 #479032
tetradic
#324790 #903276 #907B32 #32904C
square
#324790 #903276 #907B32 #32904C
split-complementary
#324790 #904C32 #769032
monochromatic
#121A35 #223163 #324790 #425DBD #6F84CD

Accessibility & contrast

On white

8.61
#324790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#324790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #324790
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##324790#FFFFFF#000000##FFFFFF
##3247901.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5093
Deuteranopia (green-blind)
#08488E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #324790;
/* rgb */ color: rgb(50, 71, 144);
/* oklch */ color: oklch(42.2% 0.123 268.6);
Tailwind
colors: {
  custom: {
    50: '#7479b1',
    500: '#324790',
    950: '#000000',
  },
}
SCSS
$custom: #324790;
$custom-light: #7479b1;
$custom-dark: #000000;
JSON
{
  "hex": "#324790",
  "rgb": {
    "r": 50,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 226.596,
    "s": 48.454,
    "l": 38.039
  },
  "oklch": {
    "l": 0.422,
    "c": 0.12305,
    "h": 268.6
  },
  "luminance": 0.07198
}

Semantic roles & 50–950 ramp

primary
#324790
secondary
#B5A469
accent
#BA50D8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #324790

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

Preview Lab → · Contrast checker → · Palette generator →

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