#323DB4#323DB4

#323DB4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.186 H 271.8°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#323DB4
RGBrgb(50, 61, 180)
HSLhsl(235, 57%, 45%)
HSVhsv(235, 72%, 71%)
CMYKcmyk(72.2%, 66.1%, 0%, 29.4%)
CIE-LABlab(32.50, 36.21, -64.23)
CIE-LCHlch(32.50, 73.73, 299.41°)
OKLaboklab(43.28% 0.0059 -0.1856)
OKLCHoklch(43.28% 0.186 271.8)
XYZxyz(11.2196, 7.3098, 43.9908)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DB4 #B4A932
analogous
#327EB4 #323DB4 #6832B4
triadic
#323DB4 #B4323D #3DB432
tetradic
#323DB4 #B4327E #B4A932 #32B468
square
#323DB4 #B4327E #B4A932 #32B468
split-complementary
#323DB4 #B46832 #7EB432
monochromatic
#171D54 #252D84 #323DB4 #545ECF #848BDD

Accessibility & contrast

On white

8.53
#323DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#323DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DB4
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DB4#FFFFFF#000000##FFFFFF
##323DB41.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #323db4;
/* rgb */ color: rgb(50, 61, 180);
/* oklch */ color: oklch(43.3% 0.186 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d73cb',
    500: '#323db4',
    950: '#000000',
  },
}
SCSS
$custom: #323db4;
$custom-light: #7d73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#323db4",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 234.923,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43279,
    "c": 0.18574,
    "h": 271.8
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#323DB4
secondary
#C6C07C
accent
#D348E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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