#22538E#22538E

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

Color values

HEX#22538E
RGBrgb(34, 83, 142)
HSLhsl(213, 61%, 35%)
HSVhsv(213, 76%, 56%)
CMYKcmyk(76.1%, 41.5%, 0%, 44.3%)
CIE-LABlab(34.96, 5.10, -37.43)
CIE-LCHlch(34.96, 37.77, 277.77°)
OKLaboklab(44.05% -0.0288 -0.1069)
OKLCHoklch(44.05% 0.111 254.9)
XYZxyz(8.6336, 8.4786, 26.7675)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22538E #8E5D22
analogous
#22898E #22538E #27228E
triadic
#22538E #8E2253 #538E22
tetradic
#22538E #8E2289 #8E5D22 #228E27
square
#22538E #8E2289 #8E5D22 #228E27
split-complementary
#22538E #8E2722 #898E22
monochromatic
#0A192B #16365D #22538E #2E70BF #548FD6

Accessibility & contrast

On white

7.79
#22538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22538E
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22538E#FFFFFF#000000##FFFFFF
##22538E1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375890
Deuteranopia (green-blind)
#254E8D
Tritanopia (blue-blind)
#006169
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #22538e;
/* rgb */ color: rgb(34, 83, 142);
/* oklch */ color: oklch(44.0% 0.111 254.9);
Tailwind
colors: {
  custom: {
    50: '#6d82af',
    500: '#22538e',
    950: '#000000',
  },
}
SCSS
$custom: #22538e;
$custom-light: #6d82af;
$custom-dark: #000000;
JSON
{
  "hex": "#22538e",
  "rgb": {
    "r": 34,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 212.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44045,
    "c": 0.1107,
    "h": 254.9
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#22538E
secondary
#BA8B52
accent
#9B43E4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #22538E

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

Preview Lab → · Contrast checker → · Palette generator →

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