#22328F#22328F

#22328F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.154 H 269.5°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#22328F
RGBrgb(34, 50, 143)
HSLhsl(231, 62%, 35%)
HSVhsv(231, 76%, 56%)
CMYKcmyk(76.2%, 65%, 0%, 43.9%)
CIE-LABlab(25.57, 27.92, -53.21)
CIE-LCHlch(25.57, 60.09, 297.69°)
OKLaboklab(36.94% -0.0013 -0.1538)
OKLCHoklch(36.94% 0.154 269.5)
XYZxyz(6.7565, 4.6037, 26.5138)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22328F #8F7F22
analogous
#22688F #22328F #49228F
triadic
#22328F #8F2232 #328F22
tetradic
#22328F #8F2268 #8F7F22 #228F49
square
#22328F #8F2268 #8F7F22 #228F49
split-complementary
#22328F #8F4922 #688F22
monochromatic
#0A0F2C #16215E #22328F #2E43C0 #5568D7

Accessibility & contrast

On white

10.93
#22328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#22328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22328F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22328F#FFFFFF#000000##FFFFFF
##22328F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #22328f;
/* rgb */ color: rgb(34, 50, 143);
/* oklch */ color: oklch(36.9% 0.154 269.5);
Tailwind
colors: {
  custom: {
    50: '#6f69b1',
    500: '#22328f',
    950: '#000000',
  },
}
SCSS
$custom: #22328f;
$custom-light: #6f69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#22328f",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 231.193,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36941,
    "c": 0.15384,
    "h": 269.5
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#22328F
secondary
#BAAB52
accent
#CD43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #22328F

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

Preview Lab → · Contrast checker → · Palette generator →

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