#22285C#22285C

#22285C is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.092 H 274.6°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#22285C
RGBrgb(34, 40, 92)
HSLhsl(234, 46%, 25%)
HSVhsv(234, 63%, 36%)
CMYKcmyk(63%, 56.5%, 0%, 63.9%)
CIE-LABlab(18.50, 15.23, -32.10)
CIE-LCHlch(18.50, 35.54, 295.39°)
OKLaboklab(30.33% 0.0073 -0.0919)
OKLCHoklch(30.33% 0.092 274.6)
XYZxyz(3.3496, 2.6301, 10.4543)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22285C #5C5622
analogous
#22455C #22285C #39225C
triadic
#22285C #5C2228 #285C22
tetradic
#22285C #5C2245 #5C5622 #225C39
square
#22285C #5C2245 #5C5622 #225C39
split-complementary
#22285C #5C3922 #455C22
monochromatic
#080A16 #11152F #22285C #333B89 #434FB5

Accessibility & contrast

On white

13.76
#22285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#22285C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22285C
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22285C#FFFFFF#000000##FFFFFF
##22285C1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305E
Deuteranopia (green-blind)
#002B5B
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #22285c;
/* rgb */ color: rgb(34, 40, 92);
/* oklch */ color: oklch(30.3% 0.092 274.6);
Tailwind
colors: {
  custom: {
    50: '#63618a',
    500: '#22285c',
    950: '#000000',
  },
}
SCSS
$custom: #22285c;
$custom-light: #63618a;
$custom-dark: #000000;
JSON
{
  "hex": "#22285c",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 233.793,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30329,
    "c": 0.09223,
    "h": 274.6
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#22285C
secondary
#90894A
accent
#C852D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #22285C

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

Preview Lab → · Contrast checker → · Palette generator →

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