#22296E#22296E

#22296E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.118 H 273.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#22296E
RGBrgb(34, 41, 110)
HSLhsl(234, 53%, 28%)
HSVhsv(234, 69%, 43%)
CMYKcmyk(69.1%, 62.7%, 0%, 56.9%)
CIE-LABlab(20.25, 21.45, -41.05)
CIE-LCHlch(20.25, 46.32, 297.59°)
OKLaboklab(32.1% 0.0068 -0.1182)
OKLCHoklch(32.1% 0.118 273.3)
XYZxyz(4.2662, 3.0514, 15.1130)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22296E #6E6722
analogous
#224F6E #22296E #41226E
triadic
#22296E #6E2229 #296E22
tetradic
#22296E #6E224F #6E6722 #226E41
square
#22296E #6E224F #6E6722 #226E41
split-complementary
#22296E #6E4122 #4F6E22
monochromatic
#070917 #14183F #22296E #303A9D #4551C5

Accessibility & contrast

On white

13.04
#22296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#22296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22296E
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22296E#FFFFFF#000000##FFFFFF
##22296E1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #22296e;
/* rgb */ color: rgb(34, 41, 110);
/* oklch */ color: oklch(32.1% 0.118 273.3);
Tailwind
colors: {
  custom: {
    50: '#676298',
    500: '#22296e',
    950: '#000000',
  },
}
SCSS
$custom: #22296e;
$custom-light: #676298;
$custom-dark: #000000;
JSON
{
  "hex": "#22296e",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 234.474,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32099,
    "c": 0.11845,
    "h": 273.3
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#22296E
secondary
#A1994A
accent
#CF4CDC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #22296E

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

Preview Lab → · Contrast checker → · Palette generator →

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