#22146F#22146F

#22146F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.145 H 279.0°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#22146F
RGBrgb(34, 20, 111)
HSLhsl(249, 69%, 26%)
HSVhsv(249, 82%, 44%)
CMYKcmyk(69.4%, 82%, 0%, 56.5%)
CIE-LABlab(15.42, 35.20, -49.62)
CIE-LCHlch(15.42, 60.84, 305.35°)
OKLaboklab(28.65% 0.0227 -0.1433)
OKLCHoklch(28.65% 0.145 279)
XYZxyz(3.7782, 1.9878, 15.2204)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22146F #616F14
analogous
#14336F #22146F #4F146F
triadic
#22146F #6F2214 #146F22
tetradic
#22146F #6F1433 #616F14 #146F4F
square
#22146F #6F1433 #616F14 #146F4F
split-complementary
#22146F #6F4F14 #336F14
monochromatic
#08051A #120B3B #22146F #321DA3 #4227D7

Accessibility & contrast

On white

15.03
#22146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#22146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22146F
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22146F#FFFFFF#000000##FFFFFF
##22146F1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #22146f;
/* rgb */ color: rgb(34, 20, 111);
/* oklch */ color: oklch(28.7% 0.145 279.0);
Tailwind
colors: {
  custom: {
    50: '#6a5499',
    500: '#22146f',
    950: '#000000',
  },
}
SCSS
$custom: #22146f;
$custom-light: #6a5499;
$custom-dark: #000000;
JSON
{
  "hex": "#22146f",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 249.231,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28652,
    "c": 0.14509,
    "h": 279
  },
  "luminance": 0.01988
}

Semantic roles & 50–950 ramp

primary
#22146F
secondary
#95A639
accent
#EC3CD1
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #22146F

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

Preview Lab → · Contrast checker → · Palette generator →

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