#22264C#22264C

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

Color values

HEX#22264C
RGBrgb(34, 38, 76)
HSLhsl(234, 38%, 22%)
HSVhsv(234, 55%, 30%)
CMYKcmyk(55.3%, 50%, 0%, 70.2%)
CIE-LABlab(16.74, 10.63, -24.17)
CIE-LCHlch(16.74, 26.40, 293.75°)
OKLaboklab(28.63% 0.0079 -0.0686)
OKLCHoklch(28.63% 0.069 276.6)
XYZxyz(2.6569, 2.2480, 7.1300)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22264C #4C4822
analogous
#223B4C #22264C #33224C
triadic
#22264C #4C2226 #264C22
tetradic
#22264C #4C223B #4C4822 #224C33
square
#22264C #4C223B #4C4822 #224C33
split-complementary
#22264C #4C3322 #3B4C22
monochromatic
#090B15 #0F1122 #22264C #353B76 #4850A1

Accessibility & contrast

On white

14.49
#22264C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#22264C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22264C
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22264C#FFFFFF#000000##FFFFFF
##22264C1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4D
Deuteranopia (green-blind)
#12284B
Tritanopia (blue-blind)
#112E35
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #22264c;
/* rgb */ color: rgb(34, 38, 76);
/* oklch */ color: oklch(28.6% 0.069 276.6);
Tailwind
colors: {
  custom: {
    50: '#60607e',
    500: '#22264c',
    950: '#000000',
  },
}
SCSS
$custom: #22264c;
$custom-light: #60607e;
$custom-dark: #000000;
JSON
{
  "hex": "#22264c",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 76
  },
  "hsl": {
    "h": 234.286,
    "s": 38.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28628,
    "c": 0.0691,
    "h": 276.6
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#22264C
secondary
#807B4A
accent
#C35ACE
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05040A
muted
#79797C

Preview Lab

Preview with #22264C

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

Preview Lab → · Contrast checker → · Palette generator →

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