#22266A#22266A

#22266A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.117 H 274.8°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#22266A
RGBrgb(34, 38, 106)
HSLhsl(237, 51%, 27%)
HSVhsv(237, 68%, 42%)
CMYKcmyk(67.9%, 64.2%, 0%, 58.4%)
CIE-LABlab(19.08, 22.02, -40.36)
CIE-LCHlch(19.08, 45.97, 298.62°)
OKLaboklab(31.13% 0.0097 -0.1162)
OKLCHoklch(31.13% 0.117 274.8)
XYZxyz(3.9535, 2.7666, 13.9585)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22266A #6A6622
analogous
#224A6A #22266A #42226A
triadic
#22266A #6A2226 #266A22
tetradic
#22266A #6A224A #6A6622 #226A42
square
#22266A #6A224A #6A6622 #226A42
split-complementary
#22266A #6A4222 #4A6A22
monochromatic
#070817 #13153C #22266A #313798 #444BC3

Accessibility & contrast

On white

13.52
#22266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#22266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22266A
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22266A#FFFFFF#000000##FFFFFF
##22266A1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #22266a;
/* rgb */ color: rgb(34, 38, 106);
/* oklch */ color: oklch(31.1% 0.117 274.8);
Tailwind
colors: {
  custom: {
    50: '#676095',
    500: '#22266a',
    950: '#000000',
  },
}
SCSS
$custom: #22266a;
$custom-light: #676095;
$custom-dark: #000000;
JSON
{
  "hex": "#22266a",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 236.667,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31129,
    "c": 0.11664,
    "h": 274.8
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#22266A
secondary
#9E994A
accent
#D34DDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #22266A

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

Preview Lab → · Contrast checker → · Palette generator →

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