#323AB5#323AB5

#323AB5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.190 H 272.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#323AB5
RGBrgb(50, 58, 181)
HSLhsl(236, 57%, 45%)
HSVhsv(236, 72%, 71%)
CMYKcmyk(72.4%, 68%, 0%, 29%)
CIE-LABlab(31.90, 38.43, -65.82)
CIE-LCHlch(31.90, 76.22, 300.28°)
OKLaboklab(42.87% 0.0077 -0.1903)
OKLCHoklch(42.87% 0.19 272.3)
XYZxyz(11.1661, 7.0393, 44.4774)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AB5 #B5AD32
analogous
#327BB5 #323AB5 #6B32B5
triadic
#323AB5 #B5323A #3AB532
tetradic
#323AB5 #B5327B #B5AD32 #32B56B
square
#323AB5 #B5327B #B5AD32 #32B56B
split-complementary
#323AB5 #B56B32 #7BB532
monochromatic
#181B55 #252B85 #323AB5 #545CD0 #848ADD

Accessibility & contrast

On white

8.72
#323AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#323AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323AB5
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AB5#FFFFFF#000000##FFFFFF
##323AB51.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323ab5;
/* rgb */ color: rgb(50, 58, 181);
/* oklch */ color: oklch(42.9% 0.190 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d70cc',
    500: '#323ab5',
    950: '#000000',
  },
}
SCSS
$custom: #323ab5;
$custom-light: #7d70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#323ab5",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 236.336,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42866,
    "c": 0.19046,
    "h": 272.3
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#323AB5
secondary
#C7C27C
accent
#D748E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #323AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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