#322E8F#322E8F

#322E8F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.155 H 277.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#322E8F
RGBrgb(50, 46, 143)
HSLhsl(242, 51%, 37%)
HSVhsv(242, 68%, 56%)
CMYKcmyk(65%, 67.8%, 0%, 43.9%)
CIE-LABlab(25.61, 32.69, -53.12)
CIE-LCHlch(25.61, 62.37, 301.61°)
OKLaboklab(37.24% 0.0205 -0.1532)
OKLCHoklch(37.24% 0.155 277.6)
XYZxyz(7.2487, 4.6147, 26.4900)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322E8F #8B8F2E
analogous
#2E5B8F #322E8F #632E8F
triadic
#322E8F #8F322E #2E8F32
tetradic
#322E8F #8F2E5B #8B8F2E #2E8F63
square
#322E8F #8F2E5B #8B8F2E #2E8F63
split-complementary
#322E8F #8F632E #5B8F2E
monochromatic
#121032 #221F61 #322E8F #423DBD #6D69CF

Accessibility & contrast

On white

10.92
#322E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#322E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322E8F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322E8F#FFFFFF#000000##FFFFFF
##322E8F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #322e8f;
/* rgb */ color: rgb(50, 46, 143);
/* oklch */ color: oklch(37.2% 0.155 277.6);
Tailwind
colors: {
  custom: {
    50: '#7667b1',
    500: '#322e8f',
    950: '#000000',
  },
}
SCSS
$custom: #322e8f;
$custom-light: #7667b1;
$custom-dark: #000000;
JSON
{
  "hex": "#322e8f",
  "rgb": {
    "r": 50,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 242.474,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37235,
    "c": 0.15452,
    "h": 277.6
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#322E8F
secondary
#B2B663
accent
#DB4DD5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #322E8F

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

Preview Lab → · Contrast checker → · Palette generator →

#322E8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva