#22296C#22296C

#22296C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.115 H 273.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#22296C
RGBrgb(34, 41, 108)
HSLhsl(234, 52%, 28%)
HSVhsv(234, 69%, 42%)
CMYKcmyk(68.5%, 62%, 0%, 57.6%)
CIE-LABlab(20.08, 20.68, -40.04)
CIE-LCHlch(20.08, 45.06, 297.32°)
OKLaboklab(31.92% 0.0068 -0.1153)
OKLCHoklch(31.92% 0.115 273.4)
XYZxyz(4.1585, 3.0083, 14.5460)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22296C #6C6522
analogous
#224E6C #22296C #40226C
triadic
#22296C #6C2229 #296C22
tetradic
#22296C #6C224E #6C6522 #226C40
square
#22296C #6C224E #6C6522 #226C40
split-complementary
#22296C #6C4022 #4E6C22
monochromatic
#070917 #13173D #22296C #313B9B #4450C4

Accessibility & contrast

On white

13.11
#22296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#22296C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22296C
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22296C#FFFFFF#000000##FFFFFF
##22296C1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #22296c;
/* rgb */ color: rgb(34, 41, 108);
/* oklch */ color: oklch(31.9% 0.115 273.4);
Tailwind
colors: {
  custom: {
    50: '#676297',
    500: '#22296c',
    950: '#000000',
  },
}
SCSS
$custom: #22296c;
$custom-light: #676297;
$custom-dark: #000000;
JSON
{
  "hex": "#22296c",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 234.324,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31918,
    "c": 0.11546,
    "h": 273.4
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#22296C
secondary
#A0974A
accent
#CE4CDC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #22296C

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

Preview Lab → · Contrast checker → · Palette generator →

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