#22528C#22528C

#22528C is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.109 H 254.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#22528C
RGBrgb(34, 82, 140)
HSLhsl(213, 61%, 34%)
HSVhsv(213, 76%, 55%)
CMYKcmyk(75.7%, 41.4%, 0%, 45.1%)
CIE-LABlab(34.53, 4.98, -36.89)
CIE-LCHlch(34.53, 37.22, 277.69°)
OKLaboklab(43.67% -0.0284 -0.1053)
OKLCHoklch(43.67% 0.109 254.9)
XYZxyz(8.4089, 8.2672, 25.9584)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22528C #8C5C22
analogous
#22878C #22528C #27228C
triadic
#22528C #8C2252 #528C22
tetradic
#22528C #8C2287 #8C5C22 #228C27
square
#22528C #8C2287 #8C5C22 #228C27
split-complementary
#22528C #8C2722 #878C22
monochromatic
#0A182A #16355B #22528C #2E6FBD #538ED5

Accessibility & contrast

On white

7.91
#22528C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#22528C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22528C
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22528C#FFFFFF#000000##FFFFFF
##22528C1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36578E
Deuteranopia (green-blind)
#254D8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #22528c;
/* rgb */ color: rgb(34, 82, 140);
/* oklch */ color: oklch(43.7% 0.109 254.9);
Tailwind
colors: {
  custom: {
    50: '#6c82ae',
    500: '#22528c',
    950: '#000000',
  },
}
SCSS
$custom: #22528c;
$custom-light: #6c82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22528c",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 212.83,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43674,
    "c": 0.10906,
    "h": 254.9
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#22528C
secondary
#B98A51
accent
#9B44E4
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #22528C

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

Preview Lab → · Contrast checker → · Palette generator →

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