#22269E#22269E

#22269E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.187 H 271.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#22269E
RGBrgb(34, 38, 158)
HSLhsl(238, 65%, 38%)
HSVhsv(238, 78%, 62%)
CMYKcmyk(78.5%, 75.9%, 0%, 38%)
CIE-LABlab(24.30, 40.95, -64.52)
CIE-LCHlch(24.30, 76.42, 302.40°)
OKLaboklab(36.48% 0.0034 -0.1868)
OKLCHoklch(36.48% 0.187 271)
XYZxyz(7.5223, 4.1941, 32.7542)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22269E #9E9A22
analogous
#22649E #22269E #5C229E
triadic
#22269E #9E2226 #269E22
tetradic
#22269E #9E2264 #9E9A22 #229E5C
square
#22269E #9E2264 #9E9A22 #229E5C
split-complementary
#22269E #9E5C22 #649E22
monochromatic
#0C0E39 #171A6C #22269E #2D32D0 #5E62DC

Accessibility & contrast

On white

11.42
#22269E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#22269E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22269E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22269E#FFFFFF#000000##FFFFFF
##22269E1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22269e;
/* rgb */ color: rgb(34, 38, 158);
/* oklch */ color: oklch(36.5% 0.187 271.0);
Tailwind
colors: {
  custom: {
    50: '#7462bc',
    500: '#22269e',
    950: '#000000',
  },
}
SCSS
$custom: #22269e;
$custom-light: #7462bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22269e",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 238.065,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36477,
    "c": 0.18686,
    "h": 271
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#22269E
secondary
#C1BE5B
accent
#E240E8
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #22269E

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

Preview Lab → · Contrast checker → · Palette generator →

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