#22538F#22538F

#22538F is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.1% C 0.112 H 255.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#22538F
RGBrgb(34, 83, 143)
HSLhsl(213, 62%, 35%)
HSVhsv(213, 76%, 56%)
CMYKcmyk(76.2%, 42%, 0%, 43.9%)
CIE-LABlab(35.02, 5.50, -37.94)
CIE-LCHlch(35.02, 38.33, 278.24°)
OKLaboklab(44.11% -0.0286 -0.1084)
OKLCHoklch(44.11% 0.112 255.2)
XYZxyz(8.7090, 8.5088, 27.1646)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22538F #8F5E22
analogous
#22898F #22538F #28228F
triadic
#22538F #8F2253 #538F22
tetradic
#22538F #8F2289 #8F5E22 #228F28
square
#22538F #8F2289 #8F5E22 #228F28
split-complementary
#22538F #8F2822 #898F22
monochromatic
#0A1A2C #16365E #22538F #2E70C0 #558FD7

Accessibility & contrast

On white

7.77
#22538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#22538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22538F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22538F#FFFFFF#000000##FFFFFF
##22538F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365891
Deuteranopia (green-blind)
#244E8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #22538f;
/* rgb */ color: rgb(34, 83, 143);
/* oklch */ color: oklch(44.1% 0.112 255.2);
Tailwind
colors: {
  custom: {
    50: '#6d82b0',
    500: '#22538f',
    950: '#000000',
  },
}
SCSS
$custom: #22538f;
$custom-light: #6d82b0;
$custom-dark: #000000;
JSON
{
  "hex": "#22538f",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 213.028,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44112,
    "c": 0.11209,
    "h": 255.2
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#22538F
secondary
#BA8C52
accent
#9C43E5
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #22538F

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

Preview Lab → · Contrast checker → · Palette generator →

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