#22269C#22269C

#22269C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.184 H 271.2°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#22269C
RGBrgb(34, 38, 156)
HSLhsl(238, 64%, 37%)
HSVhsv(238, 78%, 61%)
CMYKcmyk(78.2%, 75.6%, 0%, 38.8%)
CIE-LABlab(24.08, 40.26, -63.66)
CIE-LCHlch(24.08, 75.33, 302.31°)
OKLaboklab(36.26% 0.0037 -0.1843)
OKLCHoklch(36.26% 0.184 271.2)
XYZxyz(7.3515, 4.1258, 31.8550)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22269C #9C9822
analogous
#22639C #22269C #5B229C
triadic
#22269C #9C2226 #269C22
tetradic
#22269C #9C2263 #9C9822 #229C5B
square
#22269C #9C2263 #9C9822 #229C5B
split-complementary
#22269C #9C5B22 #639C22
monochromatic
#0C0E38 #171A6A #22269C #2D32CE #5D61DC

Accessibility & contrast

On white

11.50
#22269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22269C
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22269C#FFFFFF#000000##FFFFFF
##22269C1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22269c;
/* rgb */ color: rgb(34, 38, 156);
/* oklch */ color: oklch(36.3% 0.184 271.2);
Tailwind
colors: {
  custom: {
    50: '#7362ba',
    500: '#22269c',
    950: '#000000',
  },
}
SCSS
$custom: #22269c;
$custom-light: #7362ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22269c",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 238.033,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36256,
    "c": 0.18437,
    "h": 271.2
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#22269C
secondary
#C0BD5A
accent
#E241E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22269C

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

Preview Lab → · Contrast checker → · Palette generator →

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