#22396F#22396F

#22396F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.098 H 264.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#22396F
RGBrgb(34, 57, 111)
HSLhsl(222, 53%, 28%)
HSVhsv(222, 69%, 44%)
CMYKcmyk(69.4%, 48.6%, 0%, 56.5%)
CIE-LABlab(24.99, 10.54, -34.03)
CIE-LCHlch(24.99, 35.62, 287.21°)
OKLaboklab(35.7% -0.0092 -0.0974)
OKLCHoklch(35.7% 0.098 264.6)
XYZxyz(4.9911, 4.4136, 15.6247)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22396F #6F5822
analogous
#225F6F #22396F #31226F
triadic
#22396F #6F2239 #396F22
tetradic
#22396F #6F225F #6F5822 #226F31
square
#22396F #6F225F #6F5822 #226F31
split-complementary
#22396F #6F3122 #5F6F22
monochromatic
#070C17 #142140 #22396F #30519E #456CC6

Accessibility & contrast

On white

11.15
#22396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22396F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22396F#FFFFFF#000000##FFFFFF
##22396F1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#0F386E
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22396f;
/* rgb */ color: rgb(34, 57, 111);
/* oklch */ color: oklch(35.7% 0.098 264.6);
Tailwind
colors: {
  custom: {
    50: '#676e99',
    500: '#22396f',
    950: '#000000',
  },
}
SCSS
$custom: #22396f;
$custom-light: #676e99;
$custom-dark: #000000;
JSON
{
  "hex": "#22396f",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 222.078,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35702,
    "c": 0.09778,
    "h": 264.6
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#22396F
secondary
#A2884A
accent
#B14BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #22396F

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

Preview Lab → · Contrast checker → · Palette generator →

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