#22286D#22286D

#22286D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.118 H 273.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#22286D
RGBrgb(34, 40, 109)
HSLhsl(235, 52%, 28%)
HSVhsv(235, 69%, 43%)
CMYKcmyk(68.8%, 63.3%, 0%, 57.3%)
CIE-LABlab(19.89, 21.77, -40.99)
CIE-LCHlch(19.89, 46.41, 297.97°)
OKLaboklab(31.81% 0.0078 -0.1181)
OKLCHoklch(31.81% 0.118 273.8)
XYZxyz(4.1779, 2.9614, 14.8165)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22286D #6D6722
analogous
#224D6D #22286D #41226D
triadic
#22286D #6D2228 #286D22
tetradic
#22286D #6D224D #6D6722 #226D41
square
#22286D #6D224D #6D6722 #226D41
split-complementary
#22286D #6D4122 #4D6D22
monochromatic
#070917 #13173E #22286D #31399C #454FC5

Accessibility & contrast

On white

13.19
#22286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#22286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22286D
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22286D#FFFFFF#000000##FFFFFF
##22286D1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #22286d;
/* rgb */ color: rgb(34, 40, 109);
/* oklch */ color: oklch(31.8% 0.118 273.8);
Tailwind
colors: {
  custom: {
    50: '#676197',
    500: '#22286d',
    950: '#000000',
  },
}
SCSS
$custom: #22286d;
$custom-light: #676197;
$custom-dark: #000000;
JSON
{
  "hex": "#22286d",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 235.2,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31806,
    "c": 0.11833,
    "h": 273.8
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#22286D
secondary
#A19A4A
accent
#D04CDC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #22286D

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

Preview Lab → · Contrast checker → · Palette generator →

#22286D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva