#22195D#22195D

#22195D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.4% C 0.115 H 281.7°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#22195D
RGBrgb(34, 25, 93)
HSLhsl(248, 58%, 23%)
HSVhsv(248, 73%, 36%)
CMYKcmyk(63.4%, 73.1%, 0%, 63.5%)
CIE-LABlab(14.54, 26.05, -39.20)
CIE-LCHlch(14.54, 47.07, 303.61°)
OKLaboklab(27.45% 0.0233 -0.1129)
OKLCHoklch(27.45% 0.115 281.7)
XYZxyz(2.9825, 1.8255, 10.5490)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22195D #545D19
analogous
#19325D #22195D #44195D
triadic
#22195D #5D2219 #195D22
tetradic
#22195D #5D1932 #545D19 #195D44
square
#22195D #5D1932 #545D19 #195D44
split-complementary
#22195D #5D4419 #325D19
monochromatic
#090618 #100C2D #22195D #34268D #4533BD

Accessibility & contrast

On white

15.38
#22195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#22195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22195D
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22195D#FFFFFF#000000##FFFFFF
##22195D1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00225C
Tritanopia (blue-blind)
#002B38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #22195d;
/* rgb */ color: rgb(34, 25, 93);
/* oklch */ color: oklch(27.4% 0.115 281.7);
Tailwind
colors: {
  custom: {
    50: '#65568c',
    500: '#22195d',
    950: '#000000',
  },
}
SCSS
$custom: #22195d;
$custom-light: #65568c;
$custom-dark: #000000;
JSON
{
  "hex": "#22195d",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 247.941,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27445,
    "c": 0.11526,
    "h": 281.7
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#22195D
secondary
#88933F
accent
#E147CC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #22195D

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

Preview Lab → · Contrast checker → · Palette generator →

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