#323AB3#323AB3

#323AB3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.188 H 272.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#323AB3
RGBrgb(50, 58, 179)
HSLhsl(236, 56%, 45%)
HSVhsv(236, 72%, 70%)
CMYKcmyk(72.1%, 67.6%, 0%, 29.8%)
CIE-LABlab(31.71, 37.73, -64.93)
CIE-LCHlch(31.71, 75.10, 300.16°)
OKLaboklab(42.68% 0.0079 -0.1877)
OKLCHoklch(42.68% 0.188 272.4)
XYZxyz(10.9624, 6.9578, 43.4043)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323AB3 #B3AB32
analogous
#327BB3 #323AB3 #6A32B3
triadic
#323AB3 #B3323A #3AB332
tetradic
#323AB3 #B3327B #B3AB32 #32B36A
square
#323AB3 #B3327B #B3AB32 #32B36A
split-complementary
#323AB3 #B36A32 #7BB332
monochromatic
#171B53 #252A83 #323AB3 #535BCF #8389DC

Accessibility & contrast

On white

8.78
#323AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#323AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323AB3
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323AB3#FFFFFF#000000##FFFFFF
##323AB31.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #323ab3;
/* rgb */ color: rgb(50, 58, 179);
/* oklch */ color: oklch(42.7% 0.188 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d70cb',
    500: '#323ab3',
    950: '#000000',
  },
}
SCSS
$custom: #323ab3;
$custom-light: #7d70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#323ab3",
  "rgb": {
    "r": 50,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 236.279,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42675,
    "c": 0.18789,
    "h": 272.4
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#323AB3
secondary
#C6C17B
accent
#D648E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #323AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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