#22246A#22246A

#22246A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.7% C 0.119 H 275.6°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#22246A
RGBrgb(34, 36, 106)
HSLhsl(238, 51%, 27%)
HSVhsv(238, 68%, 42%)
CMYKcmyk(67.9%, 66%, 0%, 58.4%)
CIE-LABlab(18.55, 23.41, -41.23)
CIE-LCHlch(18.55, 47.41, 299.59°)
OKLaboklab(30.74% 0.0116 -0.1188)
OKLCHoklch(30.74% 0.119 275.6)
XYZxyz(3.8912, 2.6421, 13.9378)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22246A #6A6822
analogous
#22486A #22246A #44226A
triadic
#22246A #6A2224 #246A22
tetradic
#22246A #6A2248 #6A6822 #226A44
square
#22246A #6A2248 #6A6822 #226A44
split-complementary
#22246A #6A4422 #486A22
monochromatic
#070817 #13143C #22246A #313498 #4447C3

Accessibility & contrast

On white

13.74
#22246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#22246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22246A
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22246A#FFFFFF#000000##FFFFFF
##22246A1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #22246a;
/* rgb */ color: rgb(34, 36, 106);
/* oklch */ color: oklch(30.7% 0.119 275.6);
Tailwind
colors: {
  custom: {
    50: '#675e95',
    500: '#22246a',
    950: '#000000',
  },
}
SCSS
$custom: #22246a;
$custom-light: #675e95;
$custom-dark: #000000;
JSON
{
  "hex": "#22246a",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 238.333,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30736,
    "c": 0.11936,
    "h": 275.6
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#22246A
secondary
#9E9B4A
accent
#D74DDB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #22246A

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

Preview Lab → · Contrast checker → · Palette generator →

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