#323EA0#323EA0

#323EA0 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.158 H 272.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#323EA0
RGBrgb(50, 62, 160)
HSLhsl(233, 52%, 41%)
HSVhsv(233, 69%, 63%)
CMYKcmyk(68.8%, 61.2%, 0%, 37.3%)
CIE-LABlab(31.02, 28.39, -54.67)
CIE-LCHlch(31.02, 61.60, 297.44°)
OKLaboklab(41.66% 0.0062 -0.1576)
OKLCHoklch(41.66% 0.158 272.2)
XYZxyz(9.3810, 6.6605, 34.0421)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323EA0 #A09432
analogous
#3275A0 #323EA0 #5D32A0
triadic
#323EA0 #A0323E #3EA032
tetradic
#323EA0 #A03275 #A09432 #32A05D
square
#323EA0 #A03275 #A09432 #32A05D
split-complementary
#323EA0 #A05D32 #75A032
monochromatic
#151A43 #232C71 #323EA0 #4957C6 #7882D5

Accessibility & contrast

On white

9.00
#323EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#323EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323EA0
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323EA0#FFFFFF#000000##FFFFFF
##323EA01.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00449E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #323ea0;
/* rgb */ color: rgb(50, 62, 160);
/* oklch */ color: oklch(41.7% 0.158 272.2);
Tailwind
colors: {
  custom: {
    50: '#7873bd',
    500: '#323ea0',
    950: '#000000',
  },
}
SCSS
$custom: #323ea0;
$custom-light: #7873bd;
$custom-dark: #000000;
JSON
{
  "hex": "#323ea0",
  "rgb": {
    "r": 50,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 233.455,
    "s": 52.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41658,
    "c": 0.15773,
    "h": 272.2
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#323EA0
secondary
#BDB571
accent
#CC4CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323EA0

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

Preview Lab → · Contrast checker → · Palette generator →

#323EA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva