#323FA0#323FA0

#323FA0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.156 H 272.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#323FA0
RGBrgb(50, 63, 160)
HSLhsl(233, 52%, 41%)
HSVhsv(233, 69%, 63%)
CMYKcmyk(68.8%, 60.6%, 0%, 37.3%)
CIE-LABlab(31.28, 27.73, -54.25)
CIE-LCHlch(31.28, 60.93, 297.08°)
OKLaboklab(41.85% 0.0053 -0.1564)
OKLCHoklch(41.85% 0.156 272)
XYZxyz(9.4359, 6.7703, 34.0604)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323FA0 #A09332
analogous
#3276A0 #323FA0 #5C32A0
triadic
#323FA0 #A0323F #3FA032
tetradic
#323FA0 #A03276 #A09332 #32A05C
square
#323FA0 #A03276 #A09332 #32A05C
split-complementary
#323FA0 #A05C32 #76A032
monochromatic
#151A43 #232D71 #323FA0 #4958C6 #7883D5

Accessibility & contrast

On white

8.92
#323FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#323FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323FA0
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323FA0#FFFFFF#000000##FFFFFF
##323FA01.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #323fa0;
/* rgb */ color: rgb(50, 63, 160);
/* oklch */ color: oklch(41.8% 0.156 272.0);
Tailwind
colors: {
  custom: {
    50: '#7874bd',
    500: '#323fa0',
    950: '#000000',
  },
}
SCSS
$custom: #323fa0;
$custom-light: #7874bd;
$custom-dark: #000000;
JSON
{
  "hex": "#323fa0",
  "rgb": {
    "r": 50,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 232.909,
    "s": 52.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41848,
    "c": 0.15647,
    "h": 272
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#323FA0
secondary
#BDB471
accent
#CB4CDC
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #323FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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