#22246C#22246C

#22246C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.122 H 275.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#22246C
RGBrgb(34, 36, 108)
HSLhsl(238, 52%, 28%)
HSVhsv(238, 69%, 42%)
CMYKcmyk(68.5%, 66.7%, 0%, 57.6%)
CIE-LABlab(18.73, 24.16, -42.23)
CIE-LCHlch(18.73, 48.65, 299.77°)
OKLaboklab(30.93% 0.0115 -0.1217)
OKLCHoklch(30.93% 0.122 275.4)
XYZxyz(3.9964, 2.6842, 14.4919)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22246C #6C6A22
analogous
#22496C #22246C #45226C
triadic
#22246C #6C2224 #246C22
tetradic
#22246C #6C2249 #6C6A22 #226C45
square
#22246C #6C2249 #6C6A22 #226C45
split-complementary
#22246C #6C4522 #496C22
monochromatic
#070817 #13143D #22246C #31349B #4448C4

Accessibility & contrast

On white

13.66
#22246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#22246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22246C
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22246C#FFFFFF#000000##FFFFFF
##22246C1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#002A6B
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #22246c;
/* rgb */ color: rgb(34, 36, 108);
/* oklch */ color: oklch(30.9% 0.122 275.4);
Tailwind
colors: {
  custom: {
    50: '#675f97',
    500: '#22246c',
    950: '#000000',
  },
}
SCSS
$custom: #22246c;
$custom-light: #675f97;
$custom-dark: #000000;
JSON
{
  "hex": "#22246c",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 238.378,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30926,
    "c": 0.12229,
    "h": 275.4
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#22246C
secondary
#A09D4A
accent
#D84CDC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040D
muted
#7A797E

Preview Lab

Preview with #22246C

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

Preview Lab → · Contrast checker → · Palette generator →

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