#22527E#22527E

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

Color values

HEX#22527E
RGBrgb(34, 82, 126)
HSLhsl(209, 58%, 31%)
HSVhsv(209, 73%, 49%)
CMYKcmyk(73%, 34.9%, 0%, 50.6%)
CIE-LABlab(33.73, -0.46, -29.56)
CIE-LCHlch(33.73, 29.56, 269.10°)
OKLaboklab(42.79% -0.0322 -0.0838)
OKLCHoklch(42.79% 0.09 249)
XYZxyz(7.4415, 7.8802, 20.8635)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22527E #7E4E22
analogous
#227E7C #22527E #22247E
triadic
#22527E #7E2252 #527E22
tetradic
#22527E #7C227E #7E4E22 #247E22
square
#22527E #7C227E #7E4E22 #247E22
split-complementary
#22527E #7E2224 #7E7C22
monochromatic
#08131E #15334E #22527E #2F71AE #4C90CF

Accessibility & contrast

On white

8.15
#22527E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22527E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22527E#FFFFFF#000000##FFFFFF
##22527E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#005C62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #22527e;
/* rgb */ color: rgb(34, 82, 126);
/* oklch */ color: oklch(42.8% 0.090 249.0);
Tailwind
colors: {
  custom: {
    50: '#6982a3',
    500: '#22527e',
    950: '#000000',
  },
}
SCSS
$custom: #22527e;
$custom-light: #6982a3;
$custom-dark: #000000;
JSON
{
  "hex": "#22527e",
  "rgb": {
    "r": 34,
    "g": 82,
    "b": 126
  },
  "hsl": {
    "h": 208.696,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42786,
    "c": 0.08981,
    "h": 249
  },
  "luminance": 0.07881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22527E

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

Preview Lab → · Contrast checker → · Palette generator →

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