#22538C#22538C

#22538C is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.9% C 0.108 H 254.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#22538C
RGBrgb(34, 83, 140)
HSLhsl(212, 61%, 34%)
HSVhsv(212, 76%, 55%)
CMYKcmyk(75.7%, 40.7%, 0%, 45.1%)
CIE-LABlab(34.84, 4.32, -36.40)
CIE-LCHlch(34.84, 36.65, 276.77°)
OKLaboklab(43.91% -0.0293 -0.1039)
OKLCHoklch(43.91% 0.108 254.2)
XYZxyz(8.4848, 8.4191, 25.9837)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22538C #8C5B22
analogous
#22888C #22538C #26228C
triadic
#22538C #8C2253 #538C22
tetradic
#22538C #8C2288 #8C5B22 #228C26
square
#22538C #8C2288 #8C5B22 #228C26
split-complementary
#22538C #8C2622 #888C22
monochromatic
#0A192A #16365B #22538C #2E70BD #538FD5

Accessibility & contrast

On white

7.82
#22538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22538C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22538C#FFFFFF#000000##FFFFFF
##22538C1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#274D8B
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #22538c;
/* rgb */ color: rgb(34, 83, 140);
/* oklch */ color: oklch(43.9% 0.108 254.2);
Tailwind
colors: {
  custom: {
    50: '#6c82ae',
    500: '#22538c',
    950: '#000000',
  },
}
SCSS
$custom: #22538c;
$custom-light: #6c82ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22538c",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 212.264,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.10792,
    "h": 254.2
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#22538C
secondary
#B98951
accent
#9A44E4
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #22538C

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

Preview Lab → · Contrast checker → · Palette generator →

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