#22518B#22518B

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

Color values

HEX#22518B
RGBrgb(34, 81, 139)
HSLhsl(213, 61%, 34%)
HSVhsv(213, 76%, 55%)
CMYKcmyk(75.5%, 41.7%, 0%, 45.5%)
CIE-LABlab(34.17, 5.25, -36.86)
CIE-LCHlch(34.17, 37.23, 278.10°)
OKLaboklab(43.37% -0.0276 -0.1053)
OKLCHoklch(43.37% 0.109 255.3)
XYZxyz(8.2606, 8.0881, 25.5469)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22518B #8B5C22
analogous
#22868B #22518B #28228B
triadic
#22518B #8B2251 #518B22
tetradic
#22518B #8B2286 #8B5C22 #228B28
square
#22518B #8B2286 #8B5C22 #228B28
split-complementary
#22518B #8B2822 #868B22
monochromatic
#0A1829 #16345A #22518B #2E6EBC #538DD5

Accessibility & contrast

On white

8.02
#22518B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22518B
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22518B#FFFFFF#000000##FFFFFF
##22518B1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568D
Deuteranopia (green-blind)
#244C8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #22518b;
/* rgb */ color: rgb(34, 81, 139);
/* oklch */ color: oklch(43.4% 0.109 255.3);
Tailwind
colors: {
  custom: {
    50: '#6c81ad',
    500: '#22518b',
    950: '#000000',
  },
}
SCSS
$custom: #22518b;
$custom-light: #6c81ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22518b",
  "rgb": {
    "r": 34,
    "g": 81,
    "b": 139
  },
  "hsl": {
    "h": 213.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43368,
    "c": 0.10883,
    "h": 255.3
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22518B

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

Preview Lab → · Contrast checker → · Palette generator →

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