#22246F#22246F

#22246F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.127 H 275.1°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#22246F
RGBrgb(34, 36, 111)
HSLhsl(238, 53%, 28%)
HSVhsv(238, 69%, 44%)
CMYKcmyk(69.4%, 67.6%, 0%, 56.5%)
CIE-LABlab(19.01, 25.29, -43.72)
CIE-LCHlch(19.01, 50.51, 300.04°)
OKLaboklab(31.22% 0.0112 -0.1261)
OKLCHoklch(31.22% 0.127 275.1)
XYZxyz(4.1589, 2.7492, 15.3473)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22246F #6F6D22
analogous
#224A6F #22246F #46226F
triadic
#22246F #6F2224 #246F22
tetradic
#22246F #6F224A #6F6D22 #226F46
square
#22246F #6F224A #6F6D22 #226F46
split-complementary
#22246F #6F4622 #4A6F22
monochromatic
#070817 #141540 #22246F #30339E #4549C6

Accessibility & contrast

On white

13.55
#22246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22246F
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22246F#FFFFFF#000000##FFFFFF
##22246F1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #22246f;
/* rgb */ color: rgb(34, 36, 111);
/* oklch */ color: oklch(31.2% 0.127 275.1);
Tailwind
colors: {
  custom: {
    50: '#685f99',
    500: '#22246f',
    950: '#000000',
  },
}
SCSS
$custom: #22246f;
$custom-light: #685f99;
$custom-dark: #000000;
JSON
{
  "hex": "#22246f",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 238.442,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31216,
    "c": 0.12662,
    "h": 275.1
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#22246F
secondary
#A2A04A
accent
#D94BDD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #22246F

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

Preview Lab → · Contrast checker → · Palette generator →

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