#22538B#22538B

#22538B is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.8% C 0.107 H 253.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#22538B
RGBrgb(34, 83, 139)
HSLhsl(212, 61%, 34%)
HSVhsv(212, 76%, 55%)
CMYKcmyk(75.5%, 40.3%, 0%, 45.5%)
CIE-LABlab(34.78, 3.93, -35.88)
CIE-LCHlch(34.78, 36.10, 276.25°)
OKLaboklab(43.85% -0.0296 -0.1023)
OKLCHoklch(43.85% 0.107 253.9)
XYZxyz(8.4114, 8.3897, 25.5972)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22538B #8B5A22
analogous
#22888B #22538B #26228B
triadic
#22538B #8B2253 #538B22
tetradic
#22538B #8B2288 #8B5A22 #228B26
square
#22538B #8B2288 #8B5A22 #228B26
split-complementary
#22538B #8B2622 #888B22
monochromatic
#0A1829 #16365A #22538B #2E70BC #538FD5

Accessibility & contrast

On white

7.84
#22538B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#22538B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22538B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22538B#FFFFFF#000000##FFFFFF
##22538B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#284D8A
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #22538b;
/* rgb */ color: rgb(34, 83, 139);
/* oklch */ color: oklch(43.8% 0.107 253.9);
Tailwind
colors: {
  custom: {
    50: '#6c82ad',
    500: '#22538b',
    950: '#000000',
  },
}
SCSS
$custom: #22538b;
$custom-light: #6c82ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22538b",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 212,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43848,
    "c": 0.10653,
    "h": 253.9
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#22538B
secondary
#B88850
accent
#9944E4
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #22538B

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

Preview Lab → · Contrast checker → · Palette generator →

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