#22327C#22327C

#22327C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.127 H 269.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#22327C
RGBrgb(34, 50, 124)
HSLhsl(229, 57%, 31%)
HSVhsv(229, 73%, 49%)
CMYKcmyk(72.6%, 59.7%, 0%, 51.4%)
CIE-LABlab(23.92, 20.58, -44.03)
CIE-LCHlch(23.92, 48.60, 295.05°)
OKLaboklab(35.2% -0.0011 -0.1269)
OKLCHoklch(35.2% 0.127 269.5)
XYZxyz(5.4371, 4.0760, 19.5651)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22327C #7C6C22
analogous
#225F7C #22327C #3F227C
triadic
#22327C #7C2232 #327C22
tetradic
#22327C #7C225F #7C6C22 #227C3F
square
#22327C #7C225F #7C6C22 #227C3F
split-complementary
#22327C #7C3F22 #5F7C22
monochromatic
#080B1C #151F4C #22327C #2F45AC #4B62CE

Accessibility & contrast

On white

11.57
#22327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#22327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22327C
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22327C#FFFFFF#000000##FFFFFF
##22327C1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22327c;
/* rgb */ color: rgb(34, 50, 124);
/* oklch */ color: oklch(35.2% 0.127 269.5);
Tailwind
colors: {
  custom: {
    50: '#6a69a3',
    500: '#22327c',
    950: '#000000',
  },
}
SCSS
$custom: #22327c;
$custom-light: #6a69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#22327c",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 229.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35201,
    "c": 0.12689,
    "h": 269.5
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#22327C
secondary
#AF9D4B
accent
#C548E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22327C

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

Preview Lab → · Contrast checker → · Palette generator →

#22327C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva