#22518A#22518A

#22518A is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.3% C 0.107 H 255.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#22518A
RGBrgb(34, 81, 138)
HSLhsl(213, 60%, 34%)
HSVhsv(213, 75%, 54%)
CMYKcmyk(75.4%, 41.3%, 0%, 45.9%)
CIE-LABlab(34.11, 4.85, -36.35)
CIE-LCHlch(34.11, 36.67, 277.61°)
OKLaboklab(43.3% -0.0279 -0.1037)
OKLCHoklch(43.3% 0.107 255)
XYZxyz(8.1879, 8.0590, 25.1638)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22518A #8A5B22
analogous
#22858A #22518A #27228A
triadic
#22518A #8A2251 #518A22
tetradic
#22518A #8A2285 #8A5B22 #228A27
square
#22518A #8A2285 #8A5B22 #228A27
split-complementary
#22518A #8A2722 #858A22
monochromatic
#0A1728 #163459 #22518A #2E6EBB #528DD4

Accessibility & contrast

On white

8.04
#22518A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#22518A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22518A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22518A#FFFFFF#000000##FFFFFF
##22518A1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558C
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #22518a;
/* rgb */ color: rgb(34, 81, 138);
/* oklch */ color: oklch(43.3% 0.107 255.0);
Tailwind
colors: {
  custom: {
    50: '#6c81ac',
    500: '#22518a',
    950: '#000000',
  },
}
SCSS
$custom: #22518a;
$custom-light: #6c81ac;
$custom-dark: #000000;
JSON
{
  "hex": "#22518a",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 212.885,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43302,
    "c": 0.10742,
    "h": 255
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#22518A
secondary
#B88950
accent
#9C44E4
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #22518A

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

Preview Lab → · Contrast checker → · Palette generator →

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