#22527F#22527F

#22527F is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.091 H 249.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#22527F
RGBrgb(34, 82, 127)
HSLhsl(209, 58%, 32%)
HSVhsv(209, 73%, 50%)
CMYKcmyk(73.2%, 35.4%, 0%, 50.2%)
CIE-LABlab(33.79, -0.08, -30.09)
CIE-LCHlch(33.79, 30.09, 269.85°)
OKLaboklab(42.85% -0.0319 -0.0854)
OKLCHoklch(42.85% 0.091 249.5)
XYZxyz(7.5063, 7.9062, 21.2050)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22527F #7F4F22
analogous
#227F7E #22527F #22247F
triadic
#22527F #7F2252 #527F22
tetradic
#22527F #7E227F #7F4F22 #247F22
square
#22527F #7E227F #7F4F22 #247F22
split-complementary
#22527F #7F2224 #7F7E22
monochromatic
#08141E #15334F #22527F #2F71AF #4C90CF

Accessibility & contrast

On white

8.14
#22527F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#22527F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22527F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22527F#FFFFFF#000000##FFFFFF
##22527F1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5481
Deuteranopia (green-blind)
#304B7E
Tritanopia (blue-blind)
#005D62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #22527f;
/* rgb */ color: rgb(34, 82, 127);
/* oklch */ color: oklch(42.8% 0.091 249.5);
Tailwind
colors: {
  custom: {
    50: '#6a82a4',
    500: '#22527f',
    950: '#000000',
  },
}
SCSS
$custom: #22527f;
$custom-light: #6a82a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22527f",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 127
  },
  "hsl": {
    "h": 209.032,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42847,
    "c": 0.09115,
    "h": 249.5
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#22527F
secondary
#B27D4B
accent
#9147E1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #22527F

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

Preview Lab → · Contrast checker → · Palette generator →

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