#22328A#22328A

#22328A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.147 H 269.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#22328A
RGBrgb(34, 50, 138)
HSLhsl(231, 60%, 34%)
HSVhsv(231, 75%, 54%)
CMYKcmyk(75.4%, 63.8%, 0%, 45.9%)
CIE-LABlab(25.12, 26.01, -50.85)
CIE-LCHlch(25.12, 57.11, 297.09°)
OKLaboklab(36.47% -0.0011 -0.1469)
OKLCHoklch(36.47% 0.147 269.6)
XYZxyz(6.3862, 4.4556, 24.5633)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22328A #8A7A22
analogous
#22668A #22328A #46228A
triadic
#22328A #8A2232 #328A22
tetradic
#22328A #8A2266 #8A7A22 #228A46
square
#22328A #8A2266 #8A7A22 #228A46
split-complementary
#22328A #8A4622 #668A22
monochromatic
#0A0E28 #162059 #22328A #2E44BB #5266D4

Accessibility & contrast

On white

11.10
#22328A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#22328A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22328A
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22328A#FFFFFF#000000##FFFFFF
##22328A1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22328a;
/* rgb */ color: rgb(34, 50, 138);
/* oklch */ color: oklch(36.5% 0.147 269.6);
Tailwind
colors: {
  custom: {
    50: '#6d69ad',
    500: '#22328a',
    950: '#000000',
  },
}
SCSS
$custom: #22328a;
$custom-light: #6d69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22328a",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 138
  },
  "hsl": {
    "h": 230.769,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3647,
    "c": 0.1469,
    "h": 269.6
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#22328A
secondary
#B8A850
accent
#CB44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22328A

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

Preview Lab → · Contrast checker → · Palette generator →

#22328A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva