#22296A#22296A

#22296A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.112 H 273.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#22296A
RGBrgb(34, 41, 106)
HSLhsl(234, 51%, 27%)
HSVhsv(234, 68%, 42%)
CMYKcmyk(67.9%, 61.3%, 0%, 58.4%)
CIE-LABlab(19.91, 19.91, -39.02)
CIE-LCHlch(19.91, 43.80, 297.04°)
OKLaboklab(31.74% 0.0068 -0.1123)
OKLCHoklch(31.74% 0.112 273.5)
XYZxyz(4.0533, 2.9662, 13.9918)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22296A #6A6322
analogous
#224D6A #22296A #3F226A
triadic
#22296A #6A2229 #296A22
tetradic
#22296A #6A224D #6A6322 #226A3F
square
#22296A #6A224D #6A6322 #226A3F
split-complementary
#22296A #6A3F22 #4D6A22
monochromatic
#070917 #13173C #22296A #313B98 #4450C3

Accessibility & contrast

On white

13.18
#22296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#22296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22296A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22296A#FFFFFF#000000##FFFFFF
##22296A1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #22296a;
/* rgb */ color: rgb(34, 41, 106);
/* oklch */ color: oklch(31.7% 0.112 273.5);
Tailwind
colors: {
  custom: {
    50: '#666295',
    500: '#22296a',
    950: '#000000',
  },
}
SCSS
$custom: #22296a;
$custom-light: #666295;
$custom-dark: #000000;
JSON
{
  "hex": "#22296a",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 234.167,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31739,
    "c": 0.11247,
    "h": 273.5
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#22296A
secondary
#9E964A
accent
#CD4DDB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #22296A

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

Preview Lab → · Contrast checker → · Palette generator →

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