#22264B#22264B

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

Color values

HEX#22264B
RGBrgb(34, 38, 75)
HSLhsl(234, 38%, 21%)
HSVhsv(234, 55%, 29%)
CMYKcmyk(54.7%, 49.3%, 0%, 70.6%)
CIE-LABlab(16.67, 10.26, -23.59)
CIE-LCHlch(16.67, 25.73, 293.51°)
OKLaboklab(28.56% 0.0077 -0.0669)
OKLCHoklch(28.56% 0.067 276.6)
XYZxyz(2.6224, 2.2342, 6.9483)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22264B #4B4722
analogous
#223B4B #22264B #33224B
triadic
#22264B #4B2226 #264B22
tetradic
#22264B #4B223B #4B4722 #224B33
square
#22264B #4B223B #4B4722 #224B33
split-complementary
#22264B #4B3322 #3B4B22
monochromatic
#0A0B15 #0F1121 #22264B #353B75 #48519F

Accessibility & contrast

On white

14.51
#22264B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22264B
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22264B#FFFFFF#000000##FFFFFF
##22264B1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4C
Deuteranopia (green-blind)
#13284A
Tritanopia (blue-blind)
#122E34
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #22264b;
/* rgb */ color: rgb(34, 38, 75);
/* oklch */ color: oklch(28.6% 0.067 276.6);
Tailwind
colors: {
  custom: {
    50: '#60607d',
    500: '#22264b',
    950: '#000000',
  },
}
SCSS
$custom: #22264b;
$custom-light: #60607d;
$custom-dark: #000000;
JSON
{
  "hex": "#22264b",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 75
  },
  "hsl": {
    "h": 234.146,
    "s": 37.615,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28555,
    "c": 0.0674,
    "h": 276.6
  },
  "luminance": 0.02234
}

Semantic roles & 50–950 ramp

primary
#22264B
secondary
#7F7A4A
accent
#C25ACE
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#050409
muted
#79797B

Preview Lab

Preview with #22264B

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

Preview Lab → · Contrast checker → · Palette generator →

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