#22528E#22528E

#22528E is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.8% C 0.112 H 255.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#22528E
RGBrgb(34, 82, 142)
HSLhsl(213, 61%, 35%)
HSVhsv(213, 76%, 56%)
CMYKcmyk(76.1%, 42.3%, 0%, 44.3%)
CIE-LABlab(34.65, 5.76, -37.91)
CIE-LCHlch(34.65, 38.35, 278.64°)
OKLaboklab(43.81% -0.0279 -0.1083)
OKLCHoklch(43.81% 0.112 255.6)
XYZxyz(8.5577, 8.3267, 26.7421)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22528E #8E5E22
analogous
#22888E #22528E #28228E
triadic
#22528E #8E2252 #528E22
tetradic
#22528E #8E2288 #8E5E22 #228E28
square
#22528E #8E2288 #8E5E22 #228E28
split-complementary
#22528E #8E2822 #888E22
monochromatic
#0A192B #16355D #22528E #2E6FBF #548ED6

Accessibility & contrast

On white

7.88
#22528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#22528E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22528E
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22528E#FFFFFF#000000##FFFFFF
##22528E1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355790
Deuteranopia (green-blind)
#234D8D
Tritanopia (blue-blind)
#006069
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #22528e;
/* rgb */ color: rgb(34, 82, 142);
/* oklch */ color: oklch(43.8% 0.112 255.6);
Tailwind
colors: {
  custom: {
    50: '#6d82af',
    500: '#22528e',
    950: '#000000',
  },
}
SCSS
$custom: #22528e;
$custom-light: #6d82af;
$custom-dark: #000000;
JSON
{
  "hex": "#22528e",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 213.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43807,
    "c": 0.11186,
    "h": 255.6
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#22528E
secondary
#BA8C52
accent
#9D43E4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #22528E

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

Preview Lab → · Contrast checker → · Palette generator →

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