#22286E#22286E

#22286E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.120 H 273.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#22286E
RGBrgb(34, 40, 110)
HSLhsl(235, 53%, 28%)
HSVhsv(235, 69%, 43%)
CMYKcmyk(69.1%, 63.6%, 0%, 56.9%)
CIE-LABlab(19.98, 22.15, -41.50)
CIE-LCHlch(19.98, 47.04, 298.09°)
OKLaboklab(31.9% 0.0077 -0.1196)
OKLCHoklch(31.9% 0.12 273.7)
XYZxyz(4.2320, 2.9831, 15.1016)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22286E #6E6822
analogous
#224E6E #22286E #42226E
triadic
#22286E #6E2228 #286E22
tetradic
#22286E #6E224E #6E6822 #226E42
square
#22286E #6E224E #6E6822 #226E42
split-complementary
#22286E #6E4222 #4E6E22
monochromatic
#070917 #14173F #22286E #30399D #454FC5

Accessibility & contrast

On white

13.15
#22286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#22286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22286E
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22286E#FFFFFF#000000##FFFFFF
##22286E1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #22286e;
/* rgb */ color: rgb(34, 40, 110);
/* oklch */ color: oklch(31.9% 0.120 273.7);
Tailwind
colors: {
  custom: {
    50: '#676298',
    500: '#22286e',
    950: '#000000',
  },
}
SCSS
$custom: #22286e;
$custom-light: #676298;
$custom-dark: #000000;
JSON
{
  "hex": "#22286e",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 235.263,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31897,
    "c": 0.11981,
    "h": 273.7
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#22286E
secondary
#A19B4A
accent
#D14CDC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #22286E

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

Preview Lab → · Contrast checker → · Palette generator →

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