#22508F#22508F

#22508F is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.4% C 0.116 H 257.1°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#22508F
RGBrgb(34, 80, 143)
HSLhsl(215, 62%, 35%)
HSVhsv(215, 76%, 56%)
CMYKcmyk(76.2%, 44.1%, 0%, 43.9%)
CIE-LABlab(34.11, 7.48, -39.40)
CIE-LCHlch(34.11, 40.10, 280.75°)
OKLaboklab(43.4% -0.0258 -0.1127)
OKLCHoklch(43.4% 0.116 257.1)
XYZxyz(8.4845, 8.0596, 27.0898)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22508F #8F6122
analogous
#22878F #22508F #2B228F
triadic
#22508F #8F2250 #508F22
tetradic
#22508F #8F2287 #8F6122 #228F2B
square
#22508F #8F2287 #8F6122 #228F2B
split-complementary
#22508F #8F2B22 #878F22
monochromatic
#0A192C #16345E #22508F #2E6CC0 #558CD7

Accessibility & contrast

On white

8.04
#22508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#22508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22508F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22508F#FFFFFF#000000##FFFFFF
##22508F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315691
Deuteranopia (green-blind)
#1D4C8E
Tritanopia (blue-blind)
#005F68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #22508f;
/* rgb */ color: rgb(34, 80, 143);
/* oklch */ color: oklch(43.4% 0.116 257.1);
Tailwind
colors: {
  custom: {
    50: '#6d80b0',
    500: '#22508f',
    950: '#000000',
  },
}
SCSS
$custom: #22508f;
$custom-light: #6d80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22508f",
  "rgb": {
    "r": 34,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 214.679,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43402,
    "c": 0.11564,
    "h": 257.1
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#22508F
secondary
#BA8F52
accent
#A043E5
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #22508F

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

Preview Lab → · Contrast checker → · Palette generator →

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