#22264E#22264E

#22264E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.072 H 276.5°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#22264E
RGBrgb(34, 38, 78)
HSLhsl(235, 39%, 22%)
HSVhsv(235, 56%, 31%)
CMYKcmyk(56.4%, 51.3%, 0%, 69.4%)
CIE-LABlab(16.87, 11.38, -25.31)
CIE-LCHlch(16.87, 27.75, 294.20°)
OKLaboklab(28.78% 0.0083 -0.072)
OKLCHoklch(28.78% 0.072 276.5)
XYZxyz(2.7275, 2.2762, 7.5019)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22264E #4E4A22
analogous
#223C4E #22264E #34224E
triadic
#22264E #4E2226 #264E22
tetradic
#22264E #4E223C #4E4A22 #224E34
square
#22264E #4E223C #4E4A22 #224E34
split-complementary
#22264E #4E3422 #3C4E22
monochromatic
#090A15 #0F1123 #22264E #353B79 #4750A3

Accessibility & contrast

On white

14.43
#22264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#22264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22264E
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22264E#FFFFFF#000000##FFFFFF
##22264E1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B4F
Deuteranopia (green-blind)
#10284D
Tritanopia (blue-blind)
#0F2F36
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #22264e;
/* rgb */ color: rgb(34, 38, 78);
/* oklch */ color: oklch(28.8% 0.072 276.5);
Tailwind
colors: {
  custom: {
    50: '#616080',
    500: '#22264e',
    950: '#000000',
  },
}
SCSS
$custom: #22264e;
$custom-light: #616080;
$custom-dark: #000000;
JSON
{
  "hex": "#22264e",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 234.545,
    "s": 39.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28776,
    "c": 0.07246,
    "h": 276.5
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#22264E
secondary
#827D4A
accent
#C459CF
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05040A
muted
#79797C

Preview Lab

Preview with #22264E

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

Preview Lab → · Contrast checker → · Palette generator →

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