#22269F#22269F

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

Color values

HEX#22269F
RGBrgb(34, 38, 159)
HSLhsl(238, 65%, 38%)
HSVhsv(238, 79%, 62%)
CMYKcmyk(78.6%, 76.1%, 0%, 37.6%)
CIE-LABlab(24.41, 41.29, -64.95)
CIE-LCHlch(24.41, 76.96, 302.45°)
OKLaboklab(36.59% 0.0032 -0.1881)
OKLCHoklch(36.59% 0.188 271)
XYZxyz(7.6087, 4.2287, 33.2094)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22269F #9F9B22
analogous
#22649F #22269F #5C229F
triadic
#22269F #9F2226 #269F22
tetradic
#22269F #9F2264 #9F9B22 #229F5C
square
#22269F #9F2264 #9F9B22 #229F5C
split-complementary
#22269F #9F5C22 #649F22
monochromatic
#0C0E3A #171A6D #22269F #2D32D1 #5F63DD

Accessibility & contrast

On white

11.38
#22269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#22269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22269F
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22269F#FFFFFF#000000##FFFFFF
##22269F1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22269f;
/* rgb */ color: rgb(34, 38, 159);
/* oklch */ color: oklch(36.6% 0.188 271.0);
Tailwind
colors: {
  custom: {
    50: '#7462bd',
    500: '#22269f',
    950: '#000000',
  },
}
SCSS
$custom: #22269f;
$custom-light: #7462bd;
$custom-dark: #000000;
JSON
{
  "hex": "#22269f",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 238.08,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36588,
    "c": 0.1881,
    "h": 271
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22269F

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

Preview Lab → · Contrast checker → · Palette generator →

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