#22386E#22386E

#22386E is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.098 H 265.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#22386E
RGBrgb(34, 56, 110)
HSLhsl(223, 53%, 28%)
HSVhsv(223, 69%, 43%)
CMYKcmyk(69.1%, 49.1%, 0%, 56.9%)
CIE-LABlab(24.62, 10.84, -33.99)
CIE-LCHlch(24.62, 35.68, 287.70°)
OKLaboklab(35.39% -0.0083 -0.0972)
OKLCHoklch(35.39% 0.098 265.1)
XYZxyz(4.8874, 4.2938, 15.3200)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22386E #6E5822
analogous
#225E6E #22386E #32226E
triadic
#22386E #6E2238 #386E22
tetradic
#22386E #6E225E #6E5822 #226E32
square
#22386E #6E225E #6E5822 #226E32
split-complementary
#22386E #6E3222 #5E6E22
monochromatic
#070C17 #14203F #22386E #30509D #456AC5

Accessibility & contrast

On white

11.30
#22386E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#22386E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22386E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22386E#FFFFFF#000000##FFFFFF
##22386E1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E70
Deuteranopia (green-blind)
#0E376D
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22386e;
/* rgb */ color: rgb(34, 56, 110);
/* oklch */ color: oklch(35.4% 0.098 265.1);
Tailwind
colors: {
  custom: {
    50: '#666e98',
    500: '#22386e',
    950: '#000000',
  },
}
SCSS
$custom: #22386e;
$custom-light: #666e98;
$custom-dark: #000000;
JSON
{
  "hex": "#22386e",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 110
  },
  "hsl": {
    "h": 222.632,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35394,
    "c": 0.0976,
    "h": 265.1
  },
  "luminance": 0.04294
}

Semantic roles & 50–950 ramp

primary
#22386E
secondary
#A1884A
accent
#B24CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #22386E

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

Preview Lab → · Contrast checker → · Palette generator →

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