#22396E#22396E

#22396E is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.096 H 264.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#22396E
RGBrgb(34, 57, 110)
HSLhsl(222, 53%, 28%)
HSVhsv(222, 69%, 43%)
CMYKcmyk(69.1%, 48.2%, 0%, 56.9%)
CIE-LABlab(24.93, 10.14, -33.50)
CIE-LCHlch(24.93, 35.00, 286.84°)
OKLaboklab(35.63% -0.0094 -0.0958)
OKLCHoklch(35.63% 0.096 264.4)
XYZxyz(4.9363, 4.3917, 15.3364)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22396E #6E5722
analogous
#225F6E #22396E #31226E
triadic
#22396E #6E2239 #396E22
tetradic
#22396E #6E225F #6E5722 #226E31
square
#22396E #6E225F #6E5722 #226E31
split-complementary
#22396E #6E3122 #5F6E22
monochromatic
#070C17 #14213F #22396E #30519D #456CC5

Accessibility & contrast

On white

11.18
#22396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#22396E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22396E
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22396E#FFFFFF#000000##FFFFFF
##22396E1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#11386D
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22396e;
/* rgb */ color: rgb(34, 57, 110);
/* oklch */ color: oklch(35.6% 0.096 264.4);
Tailwind
colors: {
  custom: {
    50: '#666f98',
    500: '#22396e',
    950: '#000000',
  },
}
SCSS
$custom: #22396e;
$custom-light: #666f98;
$custom-dark: #000000;
JSON
{
  "hex": "#22396e",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 221.842,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35628,
    "c": 0.09625,
    "h": 264.4
  },
  "luminance": 0.04392
}

Semantic roles & 50–950 ramp

primary
#22396E
secondary
#A1874A
accent
#B04CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #22396E

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

Preview Lab → · Contrast checker → · Palette generator →

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