#22528A#22528A

#22528A is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.5% C 0.106 H 254.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#22528A
RGBrgb(34, 82, 138)
HSLhsl(212, 60%, 34%)
HSVhsv(212, 75%, 54%)
CMYKcmyk(75.4%, 40.6%, 0%, 45.9%)
CIE-LABlab(34.41, 4.19, -35.86)
CIE-LCHlch(34.41, 36.10, 276.67°)
OKLaboklab(43.54% -0.0288 -0.1023)
OKLCHoklch(43.54% 0.106 254.2)
XYZxyz(8.2627, 8.2087, 25.1888)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22528A #8A5A22
analogous
#22868A #22528A #26228A
triadic
#22528A #8A2252 #528A22
tetradic
#22528A #8A2286 #8A5A22 #228A26
square
#22528A #8A2286 #8A5A22 #228A26
split-complementary
#22528A #8A2622 #868A22
monochromatic
#0A1828 #163559 #22528A #2E6FBB #528ED4

Accessibility & contrast

On white

7.95
#22528A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#22528A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22528A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22528A#FFFFFF#000000##FFFFFF
##22528A1.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)
#38568C
Deuteranopia (green-blind)
#274D89
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #22528a;
/* rgb */ color: rgb(34, 82, 138);
/* oklch */ color: oklch(43.5% 0.106 254.2);
Tailwind
colors: {
  custom: {
    50: '#6c82ac',
    500: '#22528a',
    950: '#000000',
  },
}
SCSS
$custom: #22528a;
$custom-light: #6c82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#22528a",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 212.308,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43542,
    "c": 0.10628,
    "h": 254.2
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#22528A
secondary
#B88850
accent
#9A44E4
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #22528A

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

Preview Lab → · Contrast checker → · Palette generator →

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