#22296D#22296D

#22296D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.117 H 273.3°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#22296D
RGBrgb(34, 41, 109)
HSLhsl(234, 52%, 28%)
HSVhsv(234, 69%, 43%)
CMYKcmyk(68.8%, 62.4%, 0%, 57.3%)
CIE-LABlab(20.16, 21.06, -40.55)
CIE-LCHlch(20.16, 45.69, 297.45°)
OKLaboklab(32.01% 0.0068 -0.1168)
OKLCHoklch(32.01% 0.117 273.3)
XYZxyz(4.2120, 3.0297, 14.8279)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22296D #6D6622
analogous
#224E6D #22296D #40226D
triadic
#22296D #6D2229 #296D22
tetradic
#22296D #6D224E #6D6622 #226D40
square
#22296D #6D224E #6D6622 #226D40
split-complementary
#22296D #6D4022 #4E6D22
monochromatic
#070917 #13173E #22296D #313B9C #4551C5

Accessibility & contrast

On white

13.08
#22296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22296D
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22296D#FFFFFF#000000##FFFFFF
##22296D1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #22296d;
/* rgb */ color: rgb(34, 41, 109);
/* oklch */ color: oklch(32.0% 0.117 273.3);
Tailwind
colors: {
  custom: {
    50: '#676297',
    500: '#22296d',
    950: '#000000',
  },
}
SCSS
$custom: #22296d;
$custom-light: #676297;
$custom-dark: #000000;
JSON
{
  "hex": "#22296d",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 234.4,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32008,
    "c": 0.11696,
    "h": 273.3
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#22296D
secondary
#A1984A
accent
#CE4CDC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #22296D

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

Preview Lab → · Contrast checker → · Palette generator →

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