#22246E#22246E

#22246E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.125 H 275.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#22246E
RGBrgb(34, 36, 110)
HSLhsl(238, 53%, 28%)
HSVhsv(238, 69%, 43%)
CMYKcmyk(69.1%, 67.3%, 0%, 56.9%)
CIE-LABlab(18.92, 24.91, -43.23)
CIE-LCHlch(18.92, 49.89, 299.95°)
OKLaboklab(31.12% 0.0113 -0.1247)
OKLCHoklch(31.12% 0.125 275.2)
XYZxyz(4.1041, 2.7273, 15.0590)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22246E #6E6C22
analogous
#224A6E #22246E #46226E
triadic
#22246E #6E2224 #246E22
tetradic
#22246E #6E224A #6E6C22 #226E46
square
#22246E #6E224A #6E6C22 #226E46
split-complementary
#22246E #6E4622 #4A6E22
monochromatic
#070817 #14153F #22246E #30339D #4548C5

Accessibility & contrast

On white

13.59
#22246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#22246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22246E
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22246E#FFFFFF#000000##FFFFFF
##22246E1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #22246e;
/* rgb */ color: rgb(34, 36, 110);
/* oklch */ color: oklch(31.1% 0.125 275.2);
Tailwind
colors: {
  custom: {
    50: '#685f98',
    500: '#22246e',
    950: '#000000',
  },
}
SCSS
$custom: #22246e;
$custom-light: #685f98;
$custom-dark: #000000;
JSON
{
  "hex": "#22246e",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 238.421,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31119,
    "c": 0.12518,
    "h": 275.2
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#22246E
secondary
#A19F4A
accent
#D84CDC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #22246E

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

Preview Lab → · Contrast checker → · Palette generator →

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