#22264A#22264A

#22264A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.066 H 276.6°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#22264A
RGBrgb(34, 38, 74)
HSLhsl(234, 37%, 21%)
HSVhsv(234, 54%, 29%)
CMYKcmyk(54.1%, 48.6%, 0%, 71%)
CIE-LABlab(16.60, 9.89, -23.02)
CIE-LCHlch(16.60, 25.05, 293.26°)
OKLaboklab(28.48% 0.0076 -0.0653)
OKLCHoklch(28.48% 0.066 276.6)
XYZxyz(2.5884, 2.2206, 6.7695)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22264A #4A4622
analogous
#223A4A #22264A #32224A
triadic
#22264A #4A2226 #264A22
tetradic
#22264A #4A223A #4A4622 #224A32
square
#22264A #4A223A #4A4622 #224A32
split-complementary
#22264A #4A3222 #3A4A22
monochromatic
#0A0B15 #0F1020 #22264A #353C74 #49519E

Accessibility & contrast

On white

14.54
#22264A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#22264A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22264A
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22264A#FFFFFF#000000##FFFFFF
##22264A1.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4B
Deuteranopia (green-blind)
#142849
Tritanopia (blue-blind)
#132E34
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #22264a;
/* rgb */ color: rgb(34, 38, 74);
/* oklch */ color: oklch(28.5% 0.066 276.6);
Tailwind
colors: {
  custom: {
    50: '#60607d',
    500: '#22264a',
    950: '#000000',
  },
}
SCSS
$custom: #22264a;
$custom-light: #60607d;
$custom-dark: #000000;
JSON
{
  "hex": "#22264a",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 74
  },
  "hsl": {
    "h": 234,
    "s": 37.037,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28483,
    "c": 0.0657,
    "h": 276.6
  },
  "luminance": 0.02221
}

Semantic roles & 50–950 ramp

primary
#22264A
secondary
#7E794A
accent
#C25BCD
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#050409
muted
#79797B

Preview Lab

Preview with #22264A

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

Preview Lab → · Contrast checker → · Palette generator →

#22264A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva