#22269D#22269D

#22269D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.186 H 271.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#22269D
RGBrgb(34, 38, 157)
HSLhsl(238, 64%, 37%)
HSVhsv(238, 78%, 62%)
CMYKcmyk(78.3%, 75.8%, 0%, 38.4%)
CIE-LABlab(24.19, 40.61, -64.09)
CIE-LCHlch(24.19, 75.87, 302.36°)
OKLaboklab(36.37% 0.0036 -0.1856)
OKLCHoklch(36.37% 0.186 271.1)
XYZxyz(7.4365, 4.1598, 32.3027)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22269D #9D9922
analogous
#22639D #22269D #5C229D
triadic
#22269D #9D2226 #269D22
tetradic
#22269D #9D2263 #9D9922 #229D5C
square
#22269D #9D2263 #9D9922 #229D5C
split-complementary
#22269D #9D5C22 #639D22
monochromatic
#0C0E38 #171A6B #22269D #2D32CF #5D62DC

Accessibility & contrast

On white

11.46
#22269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#22269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22269D
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22269D#FFFFFF#000000##FFFFFF
##22269D1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22269d;
/* rgb */ color: rgb(34, 38, 157);
/* oklch */ color: oklch(36.4% 0.186 271.1);
Tailwind
colors: {
  custom: {
    50: '#7362bb',
    500: '#22269d',
    950: '#000000',
  },
}
SCSS
$custom: #22269d;
$custom-light: #7362bb;
$custom-dark: #000000;
JSON
{
  "hex": "#22269d",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 238.049,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36366,
    "c": 0.18561,
    "h": 271.1
  },
  "luminance": 0.04161
}

Semantic roles & 50–950 ramp

primary
#22269D
secondary
#C1BD5A
accent
#E240E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22269D

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

Preview Lab → · Contrast checker → · Palette generator →

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