#22296F#22296F

#22296F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.120 H 273.2°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#22296F
RGBrgb(34, 41, 111)
HSLhsl(235, 53%, 28%)
HSVhsv(235, 69%, 44%)
CMYKcmyk(69.4%, 63.1%, 0%, 56.5%)
CIE-LABlab(20.34, 21.83, -41.56)
CIE-LCHlch(20.34, 46.95, 297.71°)
OKLaboklab(32.19% 0.0068 -0.1197)
OKLCHoklch(32.19% 0.12 273.2)
XYZxyz(4.3209, 3.0733, 15.4013)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22296F #6F6822
analogous
#224F6F #22296F #41226F
triadic
#22296F #6F2229 #296F22
tetradic
#22296F #6F224F #6F6822 #226F41
square
#22296F #6F224F #6F6822 #226F41
split-complementary
#22296F #6F4122 #4F6F22
monochromatic
#070917 #141840 #22296F #303A9E #4551C6

Accessibility & contrast

On white

13.00
#22296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22296F
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22296F#FFFFFF#000000##FFFFFF
##22296F1.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22296f;
/* rgb */ color: rgb(34, 41, 111);
/* oklch */ color: oklch(32.2% 0.120 273.2);
Tailwind
colors: {
  custom: {
    50: '#686299',
    500: '#22296f',
    950: '#000000',
  },
}
SCSS
$custom: #22296f;
$custom-light: #686299;
$custom-dark: #000000;
JSON
{
  "hex": "#22296f",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 234.545,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3219,
    "c": 0.11993,
    "h": 273.2
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#22296F
secondary
#A29A4A
accent
#CF4BDD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #22296F

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

Preview Lab → · Contrast checker → · Palette generator →

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