#22518D#22518D

#22518D is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.5% C 0.112 H 255.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#22518D
RGBrgb(34, 81, 141)
HSLhsl(214, 61%, 34%)
HSVhsv(214, 76%, 55%)
CMYKcmyk(75.9%, 42.6%, 0%, 44.7%)
CIE-LABlab(34.29, 6.03, -37.89)
CIE-LCHlch(34.29, 38.37, 279.04°)
OKLaboklab(43.5% -0.0272 -0.1083)
OKLCHoklch(43.5% 0.112 255.9)
XYZxyz(8.4081, 8.1471, 26.3236)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22518D #8D5E22
analogous
#22878D #22518D #29228D
triadic
#22518D #8D2251 #518D22
tetradic
#22518D #8D2287 #8D5E22 #228D29
square
#22518D #8D2287 #8D5E22 #228D29
split-complementary
#22518D #8D2922 #878D22
monochromatic
#0A182A #16355C #22518D #2E6DBE #548DD6

Accessibility & contrast

On white

7.99
#22518D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#22518D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22518D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22518D#FFFFFF#000000##FFFFFF
##22518D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #22518d;
/* rgb */ color: rgb(34, 81, 141);
/* oklch */ color: oklch(43.5% 0.112 255.9);
Tailwind
colors: {
  custom: {
    50: '#6c81af',
    500: '#22518d',
    950: '#000000',
  },
}
SCSS
$custom: #22518d;
$custom-light: #6c81af;
$custom-dark: #000000;
JSON
{
  "hex": "#22518d",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 213.645,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43502,
    "c": 0.11164,
    "h": 255.9
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#22518D
secondary
#B98C51
accent
#9E44E4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #22518D

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

Preview Lab → · Contrast checker → · Palette generator →

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