#22396B#22396B

#22396B is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.092 H 263.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#22396B
RGBrgb(34, 57, 107)
HSLhsl(221, 52%, 28%)
HSVhsv(221, 68%, 42%)
CMYKcmyk(68.2%, 46.7%, 0%, 58%)
CIE-LABlab(24.73, 8.96, -31.89)
CIE-LCHlch(24.73, 33.13, 285.69°)
OKLaboklab(35.41% -0.0099 -0.0911)
OKLCHoklch(35.41% 0.092 263.8)
XYZxyz(4.7757, 4.3274, 14.4907)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22396B #6B5422
analogous
#225D6B #22396B #30226B
triadic
#22396B #6B2239 #396B22
tetradic
#22396B #6B225D #6B5422 #226B30
square
#22396B #6B225D #6B5422 #226B30
split-complementary
#22396B #6B3022 #5D6B22
monochromatic
#070C17 #13203D #22396B #315299 #446CC4

Accessibility & contrast

On white

11.26
#22396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22396B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22396B#FFFFFF#000000##FFFFFF
##22396B1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6D
Deuteranopia (green-blind)
#15386A
Tritanopia (blue-blind)
#00444C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22396b;
/* rgb */ color: rgb(34, 57, 107);
/* oklch */ color: oklch(35.4% 0.092 263.8);
Tailwind
colors: {
  custom: {
    50: '#666f96',
    500: '#22396b',
    950: '#000000',
  },
}
SCSS
$custom: #22396b;
$custom-light: #666f96;
$custom-dark: #000000;
JSON
{
  "hex": "#22396b",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 221.096,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3541,
    "c": 0.09162,
    "h": 263.8
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#22396B
secondary
#9F844A
accent
#AE4DDB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #22396B

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

Preview Lab → · Contrast checker → · Palette generator →

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