#22236E#22236E

#22236E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.126 H 275.5°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#22236E
RGBrgb(34, 35, 110)
HSLhsl(239, 53%, 28%)
HSVhsv(239, 69%, 43%)
CMYKcmyk(69.1%, 68.2%, 0%, 56.9%)
CIE-LABlab(18.66, 25.59, -43.65)
CIE-LCHlch(18.66, 50.60, 300.38°)
OKLaboklab(30.93% 0.0122 -0.1259)
OKLCHoklch(30.93% 0.126 275.5)
XYZxyz(4.0743, 2.6676, 15.0490)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22236E #6E6D22
analogous
#22496E #22236E #47226E
triadic
#22236E #6E2223 #236E22
tetradic
#22236E #6E2249 #6E6D22 #226E47
square
#22236E #6E2249 #6E6D22 #226E47
split-complementary
#22236E #6E4722 #496E22
monochromatic
#070717 #14143F #22236E #30329D #4547C5

Accessibility & contrast

On white

13.69
#22236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#22236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22236E
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22236E#FFFFFF#000000##FFFFFF
##22236E1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #22236e;
/* rgb */ color: rgb(34, 35, 110);
/* oklch */ color: oklch(30.9% 0.126 275.5);
Tailwind
colors: {
  custom: {
    50: '#685e98',
    500: '#22236e',
    950: '#000000',
  },
}
SCSS
$custom: #22236e;
$custom-light: #685e98;
$custom-dark: #000000;
JSON
{
  "hex": "#22236e",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 239.211,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30932,
    "c": 0.12649,
    "h": 275.5
  },
  "luminance": 0.02668
}

Semantic roles & 50–950 ramp

primary
#22236E
secondary
#A1A04A
accent
#DA4CDC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #22236E

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

Preview Lab → · Contrast checker → · Palette generator →

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