#22285B#22285B

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

Color values

HEX#22285B
RGBrgb(34, 40, 91)
HSLhsl(234, 46%, 25%)
HSVhsv(234, 63%, 36%)
CMYKcmyk(62.6%, 56%, 0%, 64.3%)
CIE-LABlab(18.42, 14.85, -31.56)
CIE-LCHlch(18.42, 34.88, 295.20°)
OKLaboklab(30.25% 0.0073 -0.0903)
OKLCHoklch(30.25% 0.091 274.6)
XYZxyz(3.3062, 2.6127, 10.2256)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22285B #5B5522
analogous
#22455B #22285B #39225B
triadic
#22285B #5B2228 #285B22
tetradic
#22285B #5B2245 #5B5522 #225B39
square
#22285B #5B2245 #5B5522 #225B39
split-complementary
#22285B #5B3922 #455B22
monochromatic
#080A16 #11142E #22285B #333C88 #434FB4

Accessibility & contrast

On white

13.79
#22285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#22285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22285B
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22285B#FFFFFF#000000##FFFFFF
##22285B1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2F5D
Deuteranopia (green-blind)
#012B5A
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #22285b;
/* rgb */ color: rgb(34, 40, 91);
/* oklch */ color: oklch(30.2% 0.091 274.6);
Tailwind
colors: {
  custom: {
    50: '#63618a',
    500: '#22285b',
    950: '#000000',
  },
}
SCSS
$custom: #22285b;
$custom-light: #63618a;
$custom-dark: #000000;
JSON
{
  "hex": "#22285b",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 233.684,
    "s": 45.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30247,
    "c": 0.09063,
    "h": 274.6
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#22285B
secondary
#8F884A
accent
#C853D5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #22285B

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

Preview Lab → · Contrast checker → · Palette generator →

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