#22518E#22518E

#22518E is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.113 H 256.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#22518E
RGBrgb(34, 81, 142)
HSLhsl(214, 61%, 35%)
HSVhsv(214, 76%, 56%)
CMYKcmyk(76.1%, 43%, 0%, 44.3%)
CIE-LABlab(34.35, 6.42, -38.40)
CIE-LCHlch(34.35, 38.94, 279.50°)
OKLaboklab(43.57% -0.0269 -0.1098)
OKLCHoklch(43.57% 0.113 256.2)
XYZxyz(8.4828, 8.1770, 26.7172)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22518E #8E5F22
analogous
#22878E #22518E #29228E
triadic
#22518E #8E2251 #518E22
tetradic
#22518E #8E2287 #8E5F22 #228E29
square
#22518E #8E2287 #8E5F22 #228E29
split-complementary
#22518E #8E2922 #878E22
monochromatic
#0A192B #16355D #22518E #2E6DBF #548DD6

Accessibility & contrast

On white

7.97
#22518E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#22518E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22518E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22518E#FFFFFF#000000##FFFFFF
##22518E1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#214C8D
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #22518e;
/* rgb */ color: rgb(34, 81, 142);
/* oklch */ color: oklch(43.6% 0.113 256.2);
Tailwind
colors: {
  custom: {
    50: '#6d81af',
    500: '#22518e',
    950: '#000000',
  },
}
SCSS
$custom: #22518e;
$custom-light: #6d81af;
$custom-dark: #000000;
JSON
{
  "hex": "#22518e",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 213.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4357,
    "c": 0.11304,
    "h": 256.2
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#22518E
secondary
#BA8D52
accent
#9E43E4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #22518E

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

Preview Lab → · Contrast checker → · Palette generator →

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