#22518C#22518C

#22518C is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.4% C 0.110 H 255.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#22518C
RGBrgb(34, 81, 140)
HSLhsl(213, 61%, 34%)
HSVhsv(213, 76%, 55%)
CMYKcmyk(75.7%, 42.1%, 0%, 45.1%)
CIE-LABlab(34.23, 5.64, -37.38)
CIE-LCHlch(34.23, 37.80, 278.58°)
OKLaboklab(43.44% -0.0274 -0.1068)
OKLCHoklch(43.44% 0.11 255.6)
XYZxyz(8.3340, 8.1175, 25.9335)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22518C #8C5D22
analogous
#22868C #22518C #28228C
triadic
#22518C #8C2251 #518C22
tetradic
#22518C #8C2286 #8C5D22 #228C28
square
#22518C #8C2286 #8C5D22 #228C28
split-complementary
#22518C #8C2822 #868C22
monochromatic
#0A182A #16355B #22518C #2E6DBD #538DD5

Accessibility & contrast

On white

8.00
#22518C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#22518C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22518C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22518C#FFFFFF#000000##FFFFFF
##22518C1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568E
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #22518c;
/* rgb */ color: rgb(34, 81, 140);
/* oklch */ color: oklch(43.4% 0.110 255.6);
Tailwind
colors: {
  custom: {
    50: '#6c81ae',
    500: '#22518c',
    950: '#000000',
  },
}
SCSS
$custom: #22518c;
$custom-light: #6c81ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22518c",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 213.396,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43435,
    "c": 0.11023,
    "h": 255.6
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#22518C
secondary
#B98B51
accent
#9D44E4
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #22518C

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

Preview Lab → · Contrast checker → · Palette generator →

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