#323DB5#323DB5

#323DB5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.187 H 271.8°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#323DB5
RGBrgb(50, 61, 181)
HSLhsl(235, 57%, 45%)
HSVhsv(235, 72%, 71%)
CMYKcmyk(72.4%, 66.3%, 0%, 29%)
CIE-LABlab(32.59, 36.57, -64.67)
CIE-LCHlch(32.59, 74.30, 299.48°)
OKLaboklab(43.37% 0.0058 -0.1869)
OKLCHoklch(43.37% 0.187 271.8)
XYZxyz(11.3218, 7.3506, 44.5292)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323DB5 #B5AA32
analogous
#327EB5 #323DB5 #6932B5
triadic
#323DB5 #B5323D #3DB532
tetradic
#323DB5 #B5327E #B5AA32 #32B569
square
#323DB5 #B5327E #B5AA32 #32B569
split-complementary
#323DB5 #B56932 #7EB532
monochromatic
#181D55 #252D85 #323DB5 #545FD0 #848CDD

Accessibility & contrast

On white

8.50
#323DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#323DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323DB5
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323DB5#FFFFFF#000000##FFFFFF
##323DB51.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #323db5;
/* rgb */ color: rgb(50, 61, 181);
/* oklch */ color: oklch(43.4% 0.187 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d73cc',
    500: '#323db5',
    950: '#000000',
  },
}
SCSS
$custom: #323db5;
$custom-light: #7d73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#323db5",
  "rgb": {
    "r": 50,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 234.962,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43372,
    "c": 0.18704,
    "h": 271.8
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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