#22538D#22538D

#22538D is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.0% C 0.109 H 254.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#22538D
RGBrgb(34, 83, 141)
HSLhsl(213, 61%, 34%)
HSVhsv(213, 76%, 55%)
CMYKcmyk(75.9%, 41.1%, 0%, 44.7%)
CIE-LABlab(34.90, 4.71, -36.91)
CIE-LCHlch(34.90, 37.21, 277.28°)
OKLaboklab(43.98% -0.0291 -0.1054)
OKLCHoklch(43.98% 0.109 254.6)
XYZxyz(8.5589, 8.4487, 26.3738)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22538D #8D5C22
analogous
#22898D #22538D #26228D
triadic
#22538D #8D2253 #538D22
tetradic
#22538D #8D2289 #8D5C22 #228D26
square
#22538D #8D2289 #8D5C22 #228D26
split-complementary
#22538D #8D2622 #898D22
monochromatic
#0A192A #16365C #22538D #2E70BE #548FD6

Accessibility & contrast

On white

7.81
#22538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#22538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22538D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22538D#FFFFFF#000000##FFFFFF
##22538D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578F
Deuteranopia (green-blind)
#264E8C
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #22538d;
/* rgb */ color: rgb(34, 83, 141);
/* oklch */ color: oklch(44.0% 0.109 254.6);
Tailwind
colors: {
  custom: {
    50: '#6c82af',
    500: '#22538d',
    950: '#000000',
  },
}
SCSS
$custom: #22538d;
$custom-light: #6c82af;
$custom-dark: #000000;
JSON
{
  "hex": "#22538d",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 212.523,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43979,
    "c": 0.10931,
    "h": 254.6
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#22538D
secondary
#B98A51
accent
#9B44E4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #22538D

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

Preview Lab → · Contrast checker → · Palette generator →

#22538D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva