#22528B#22528B

#22528B is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.6% C 0.108 H 254.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#22528B
RGBrgb(34, 82, 139)
HSLhsl(213, 61%, 34%)
HSVhsv(213, 76%, 55%)
CMYKcmyk(75.5%, 41%, 0%, 45.5%)
CIE-LABlab(34.47, 4.59, -36.37)
CIE-LCHlch(34.47, 36.66, 277.19°)
OKLaboklab(43.61% -0.0286 -0.1038)
OKLCHoklch(43.61% 0.108 254.6)
XYZxyz(8.3355, 8.2378, 25.5718)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22528B #8B5B22
analogous
#22878B #22528B #26228B
triadic
#22528B #8B2252 #528B22
tetradic
#22528B #8B2287 #8B5B22 #228B26
square
#22528B #8B2287 #8B5B22 #228B26
split-complementary
#22528B #8B2622 #878B22
monochromatic
#0A1829 #16355A #22528B #2E6FBC #538ED5

Accessibility & contrast

On white

7.93
#22528B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22528B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22528B#FFFFFF#000000##FFFFFF
##22528B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568D
Deuteranopia (green-blind)
#264D8A
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #22528b;
/* rgb */ color: rgb(34, 82, 139);
/* oklch */ color: oklch(43.6% 0.108 254.6);
Tailwind
colors: {
  custom: {
    50: '#6c82ad',
    500: '#22528b',
    950: '#000000',
  },
}
SCSS
$custom: #22528b;
$custom-light: #6c82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22528b",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 139
  },
  "hsl": {
    "h": 212.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43608,
    "c": 0.10767,
    "h": 254.6
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22528B

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

Preview Lab → · Contrast checker → · Palette generator →

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