#22269B#22269B

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

Color values

HEX#22269B
RGBrgb(34, 38, 155)
HSLhsl(238, 64%, 37%)
HSVhsv(238, 78%, 61%)
CMYKcmyk(78.1%, 75.5%, 0%, 39.2%)
CIE-LABlab(23.97, 39.92, -63.23)
CIE-LCHlch(23.97, 74.78, 302.26°)
OKLaboklab(36.15% 0.0039 -0.1831)
OKLCHoklch(36.15% 0.183 271.2)
XYZxyz(7.2672, 4.0921, 31.4108)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22269B #9B9722
analogous
#22629B #22269B #5B229B
triadic
#22269B #9B2226 #269B22
tetradic
#22269B #9B2262 #9B9722 #229B5B
square
#22269B #9B2262 #9B9722 #229B5B
split-complementary
#22269B #9B5B22 #629B22
monochromatic
#0C0D37 #171A69 #22269B #2D32CD #5C60DB

Accessibility & contrast

On white

11.55
#22269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#22269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22269B
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22269B#FFFFFF#000000##FFFFFF
##22269B1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003399
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22269b;
/* rgb */ color: rgb(34, 38, 155);
/* oklch */ color: oklch(36.1% 0.183 271.2);
Tailwind
colors: {
  custom: {
    50: '#7362ba',
    500: '#22269b',
    950: '#000000',
  },
}
SCSS
$custom: #22269b;
$custom-light: #7362ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22269b",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 238.017,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36146,
    "c": 0.18312,
    "h": 271.2
  },
  "luminance": 0.04093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22269B

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

Preview Lab → · Contrast checker → · Palette generator →

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