#22236A#22236A

#22236A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.121 H 275.9°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#22236A
RGBrgb(34, 35, 106)
HSLhsl(239, 51%, 27%)
HSVhsv(239, 68%, 42%)
CMYKcmyk(67.9%, 67%, 0%, 58.4%)
CIE-LABlab(18.29, 24.10, -41.66)
CIE-LCHlch(18.29, 48.12, 300.05°)
OKLaboklab(30.54% 0.0125 -0.1201)
OKLCHoklch(30.54% 0.121 275.9)
XYZxyz(3.8614, 2.5824, 13.9278)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22236A #6A6922
analogous
#22476A #22236A #45226A
triadic
#22236A #6A2223 #236A22
tetradic
#22236A #6A2247 #6A6922 #226A45
square
#22236A #6A2247 #6A6922 #226A45
split-complementary
#22236A #6A4522 #476A22
monochromatic
#070817 #13143C #22236A #313298 #4445C3

Accessibility & contrast

On white

13.85
#22236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#22236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22236A
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22236A#FFFFFF#000000##FFFFFF
##22236A1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #22236a;
/* rgb */ color: rgb(34, 35, 106);
/* oklch */ color: oklch(30.5% 0.121 275.9);
Tailwind
colors: {
  custom: {
    50: '#675e95',
    500: '#22236a',
    950: '#000000',
  },
}
SCSS
$custom: #22236a;
$custom-light: #675e95;
$custom-dark: #000000;
JSON
{
  "hex": "#22236a",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 239.167,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30544,
    "c": 0.12071,
    "h": 275.9
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#22236A
secondary
#9E9C4A
accent
#D94DDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #22236A

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

Preview Lab → · Contrast checker → · Palette generator →

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