#323BB4#323BB4

#323BB4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.188 H 272.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#323BB4
RGBrgb(50, 59, 180)
HSLhsl(236, 57%, 45%)
HSVhsv(236, 72%, 71%)
CMYKcmyk(72.2%, 67.2%, 0%, 29.4%)
CIE-LABlab(32.03, 37.46, -65.00)
CIE-LCHlch(32.03, 75.02, 299.96°)
OKLaboklab(42.94% 0.0072 -0.1879)
OKLCHoklch(42.94% 0.188 272.2)
XYZxyz(11.1148, 7.1002, 43.9559)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323BB4 #B4AB32
analogous
#327CB4 #323BB4 #6A32B4
triadic
#323BB4 #B4323B #3BB432
tetradic
#323BB4 #B4327C #B4AB32 #32B46A
square
#323BB4 #B4327C #B4AB32 #32B46A
split-complementary
#323BB4 #B46A32 #7CB432
monochromatic
#171C54 #252B84 #323BB4 #545CCF #848ADD

Accessibility & contrast

On white

8.68
#323BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#323BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323BB4
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323BB4#FFFFFF#000000##FFFFFF
##323BB41.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #323bb4;
/* rgb */ color: rgb(50, 59, 180);
/* oklch */ color: oklch(42.9% 0.188 272.2);
Tailwind
colors: {
  custom: {
    50: '#7d71cc',
    500: '#323bb4',
    950: '#000000',
  },
}
SCSS
$custom: #323bb4;
$custom-light: #7d71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#323bb4",
  "rgb": {
    "r": 50,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 235.846,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42938,
    "c": 0.18804,
    "h": 272.2
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#323BB4
secondary
#C6C17C
accent
#D548E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #323BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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