#22266D#22266D

#22266D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.121 H 274.5°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#22266D
RGBrgb(34, 38, 109)
HSLhsl(237, 52%, 28%)
HSVhsv(237, 69%, 43%)
CMYKcmyk(68.8%, 65.1%, 0%, 57.3%)
CIE-LABlab(19.35, 23.16, -41.87)
CIE-LCHlch(19.35, 47.85, 298.95°)
OKLaboklab(31.41% 0.0096 -0.1207)
OKLCHoklch(31.41% 0.121 274.5)
XYZxyz(4.1122, 2.8301, 14.7946)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22266D #6D6922
analogous
#224B6D #22266D #43226D
triadic
#22266D #6D2226 #266D22
tetradic
#22266D #6D224B #6D6922 #226D43
square
#22266D #6D224B #6D6922 #226D43
split-complementary
#22266D #6D4322 #4B6D22
monochromatic
#070817 #13163E #22266D #31369C #454BC5

Accessibility & contrast

On white

13.41
#22266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#22266D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22266D
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22266D#FFFFFF#000000##FFFFFF
##22266D1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #22266d;
/* rgb */ color: rgb(34, 38, 109);
/* oklch */ color: oklch(31.4% 0.121 274.5);
Tailwind
colors: {
  custom: {
    50: '#676098',
    500: '#22266d',
    950: '#000000',
  },
}
SCSS
$custom: #22266d;
$custom-light: #676098;
$custom-dark: #000000;
JSON
{
  "hex": "#22266d",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 236.8,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31408,
    "c": 0.12106,
    "h": 274.5
  },
  "luminance": 0.0283
}

Semantic roles & 50–950 ramp

primary
#22266D
secondary
#A19C4A
accent
#D44CDC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #22266D

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

Preview Lab → · Contrast checker → · Palette generator →

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