#22246D#22246D

#22246D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.124 H 275.3°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#22246D
RGBrgb(34, 36, 109)
HSLhsl(238, 52%, 28%)
HSVhsv(238, 69%, 43%)
CMYKcmyk(68.8%, 67%, 0%, 57.3%)
CIE-LABlab(18.82, 24.54, -42.73)
CIE-LCHlch(18.82, 49.27, 299.86°)
OKLaboklab(31.02% 0.0114 -0.1232)
OKLCHoklch(31.02% 0.124 275.3)
XYZxyz(4.0500, 2.7056, 14.7738)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22246D #6D6B22
analogous
#22496D #22246D #45226D
triadic
#22246D #6D2224 #246D22
tetradic
#22246D #6D2249 #6D6B22 #226D45
square
#22246D #6D2249 #6D6B22 #226D45
split-complementary
#22246D #6D4522 #496D22
monochromatic
#070817 #13153E #22246D #31339C #4548C5

Accessibility & contrast

On white

13.63
#22246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22246D
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22246D#FFFFFF#000000##FFFFFF
##22246D1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #22246d;
/* rgb */ color: rgb(34, 36, 109);
/* oklch */ color: oklch(31.0% 0.124 275.3);
Tailwind
colors: {
  custom: {
    50: '#685f98',
    500: '#22246d',
    950: '#000000',
  },
}
SCSS
$custom: #22246d;
$custom-light: #685f98;
$custom-dark: #000000;
JSON
{
  "hex": "#22246d",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 238.4,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31022,
    "c": 0.12373,
    "h": 275.3
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22246D

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

Preview Lab → · Contrast checker → · Palette generator →

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