#323288#323288

#323288 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.140 H 277.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#323288
RGBrgb(50, 50, 136)
HSLhsl(240, 46%, 36%)
HSVhsv(240, 63%, 53%)
CMYKcmyk(63.2%, 63.2%, 0%, 46.7%)
CIE-LABlab(25.97, 27.66, -48.18)
CIE-LCHlch(25.97, 55.55, 299.86°)
OKLaboklab(37.31% 0.0176 -0.1386)
OKLCHoklch(37.31% 0.14 277.2)
XYZxyz(6.8985, 4.7364, 23.8385)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#323288 #888832
analogous
#325D88 #323288 #5D3288
triadic
#323288 #883232 #328832
tetradic
#323288 #88325D #888832 #32885D
square
#323288 #88325D #888832 #32885D
split-complementary
#323288 #885D32 #5D8832
monochromatic
#11112F #22225B #323288 #4242B5 #6C6CC9

Accessibility & contrast

On white

10.78
#323288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#323288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #323288
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##323288#FFFFFF#000000##FFFFFF
##3232881.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #323288;
/* rgb */ color: rgb(50, 50, 136);
/* oklch */ color: oklch(37.3% 0.140 277.2);
Tailwind
colors: {
  custom: {
    50: '#746aab',
    500: '#323288',
    950: '#000000',
  },
}
SCSS
$custom: #323288;
$custom-light: #746aab;
$custom-dark: #000000;
JSON
{
  "hex": "#323288",
  "rgb": {
    "r": 50,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 240,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37309,
    "c": 0.13976,
    "h": 277.2
  },
  "luminance": 0.04737
}

Semantic roles & 50–950 ramp

primary
#323288
secondary
#B0B065
accent
#D652D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #323288

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

Preview Lab → · Contrast checker → · Palette generator →

#323288 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva