#22508B#22508B

#22508B is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 43.1% C 0.110 H 256.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#22508B
RGBrgb(34, 80, 139)
HSLhsl(214, 61%, 34%)
HSVhsv(214, 76%, 55%)
CMYKcmyk(75.5%, 42.4%, 0%, 45.5%)
CIE-LABlab(33.86, 5.91, -37.35)
CIE-LCHlch(33.86, 37.82, 278.99°)
OKLaboklab(43.13% -0.0267 -0.1067)
OKLCHoklch(43.13% 0.11 256)
XYZxyz(8.1868, 7.9406, 25.5223)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22508B #8B5D22
analogous
#22858B #22508B #28228B
triadic
#22508B #8B2250 #508B22
tetradic
#22508B #8B2285 #8B5D22 #228B28
square
#22508B #8B2285 #8B5D22 #228B28
split-complementary
#22508B #8B2822 #858B22
monochromatic
#0A1729 #16345A #22508B #2E6CBC #538CD5

Accessibility & contrast

On white

8.11
#22508B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#22508B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22508B
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22508B#FFFFFF#000000##FFFFFF
##22508B1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#224B8A
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #22508b;
/* rgb */ color: rgb(34, 80, 139);
/* oklch */ color: oklch(43.1% 0.110 256.0);
Tailwind
colors: {
  custom: {
    50: '#6c80ad',
    500: '#22508b',
    950: '#000000',
  },
}
SCSS
$custom: #22508b;
$custom-light: #6c80ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22508b",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 213.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4313,
    "c": 0.10999,
    "h": 256
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#22508B
secondary
#B88B50
accent
#9E44E4
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #22508B

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

Preview Lab → · Contrast checker → · Palette generator →

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