#323CB4#323CB4

#323CB4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.187 H 272.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#323CB4
RGBrgb(50, 60, 180)
HSLhsl(235, 57%, 45%)
HSVhsv(235, 72%, 71%)
CMYKcmyk(72.2%, 66.7%, 0%, 29.4%)
CIE-LABlab(32.27, 36.84, -64.61)
CIE-LCHlch(32.27, 74.38, 299.69°)
OKLaboklab(43.11% 0.0065 -0.1868)
OKLCHoklch(43.11% 0.187 272)
XYZxyz(11.1667, 7.2040, 43.9732)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323CB4 #B4AA32
analogous
#327DB4 #323CB4 #6932B4
triadic
#323CB4 #B4323C #3CB432
tetradic
#323CB4 #B4327D #B4AA32 #32B469
square
#323CB4 #B4327D #B4AA32 #32B469
split-complementary
#323CB4 #B46932 #7DB432
monochromatic
#171C54 #252C84 #323CB4 #545DCF #848BDD

Accessibility & contrast

On white

8.60
#323CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#323CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323CB4
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323CB4#FFFFFF#000000##FFFFFF
##323CB41.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323cb4;
/* rgb */ color: rgb(50, 60, 180);
/* oklch */ color: oklch(43.1% 0.187 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d72cc',
    500: '#323cb4',
    950: '#000000',
  },
}
SCSS
$custom: #323cb4;
$custom-light: #7d72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#323cb4",
  "rgb": {
    "r": 50,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 235.385,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.18689,
    "h": 272
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #323CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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