#22396C#22396C

#22396C is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.093 H 264.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#22396C
RGBrgb(34, 57, 108)
HSLhsl(221, 52%, 28%)
HSVhsv(221, 69%, 42%)
CMYKcmyk(68.5%, 47.2%, 0%, 57.6%)
CIE-LABlab(24.79, 9.35, -32.43)
CIE-LCHlch(24.79, 33.75, 286.09°)
OKLaboklab(35.48% -0.0097 -0.0926)
OKLCHoklch(35.48% 0.093 264)
XYZxyz(4.8286, 4.3486, 14.7693)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22396C #6C5522
analogous
#225E6C #22396C #30226C
triadic
#22396C #6C2239 #396C22
tetradic
#22396C #6C225E #6C5522 #226C30
square
#22396C #6C225E #6C5522 #226C30
split-complementary
#22396C #6C3022 #5E6C22
monochromatic
#070C17 #13203D #22396C #31529B #446CC4

Accessibility & contrast

On white

11.23
#22396C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#22396C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22396C
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22396C#FFFFFF#000000##FFFFFF
##22396C1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#14386B
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22396c;
/* rgb */ color: rgb(34, 57, 108);
/* oklch */ color: oklch(35.5% 0.093 264.0);
Tailwind
colors: {
  custom: {
    50: '#666f96',
    500: '#22396c',
    950: '#000000',
  },
}
SCSS
$custom: #22396c;
$custom-light: #666f96;
$custom-dark: #000000;
JSON
{
  "hex": "#22396c",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 221.351,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35482,
    "c": 0.09316,
    "h": 264
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#22396C
secondary
#A0854A
accent
#AF4CDC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #22396C

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

Preview Lab → · Contrast checker → · Palette generator →

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