#22518F#22518F

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

Color values

HEX#22518F
RGBrgb(34, 81, 143)
HSLhsl(214, 62%, 35%)
HSVhsv(214, 76%, 56%)
CMYKcmyk(76.2%, 43.4%, 0%, 43.9%)
CIE-LABlab(34.41, 6.82, -38.91)
CIE-LCHlch(34.41, 39.51, 279.94°)
OKLaboklab(43.64% -0.0267 -0.1113)
OKLCHoklch(43.64% 0.114 256.5)
XYZxyz(8.5582, 8.2071, 27.1144)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22518F #8F6022
analogous
#22888F #22518F #29228F
triadic
#22518F #8F2251 #518F22
tetradic
#22518F #8F2288 #8F6022 #228F29
square
#22518F #8F2288 #8F6022 #228F29
split-complementary
#22518F #8F2922 #888F22
monochromatic
#0A192C #16355E #22518F #2E6DC0 #558DD7

Accessibility & contrast

On white

7.95
#22518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22518F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22518F#FFFFFF#000000##FFFFFF
##22518F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#204C8E
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #22518f;
/* rgb */ color: rgb(34, 81, 143);
/* oklch */ color: oklch(43.6% 0.114 256.5);
Tailwind
colors: {
  custom: {
    50: '#6d81b0',
    500: '#22518f',
    950: '#000000',
  },
}
SCSS
$custom: #22518f;
$custom-light: #6d81b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22518f",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 214.128,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43638,
    "c": 0.11444,
    "h": 256.5
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#22518F
secondary
#BA8E52
accent
#9F43E5
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #22518F

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

Preview Lab → · Contrast checker → · Palette generator →

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