#22497F#22497F

#22497F is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.101 H 257.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#22497F
RGBrgb(34, 73, 127)
HSLhsl(215, 58%, 32%)
HSVhsv(215, 73%, 50%)
CMYKcmyk(73.2%, 42.5%, 0%, 50.2%)
CIE-LABlab(30.97, 5.86, -34.57)
CIE-LCHlch(30.97, 35.06, 279.62°)
OKLaboklab(40.64% -0.0225 -0.0987)
OKLCHoklch(40.64% 0.101 257.1)
XYZxyz(6.8716, 6.6367, 20.9934)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22497F #7F5822
analogous
#22787F #22497F #2A227F
triadic
#22497F #7F2249 #497F22
tetradic
#22497F #7F2278 #7F5822 #227F2A
square
#22497F #7F2278 #7F5822 #227F2A
split-complementary
#22497F #7F2A22 #787F22
monochromatic
#08121E #152D4F #22497F #2F65AF #4C83CF

Accessibility & contrast

On white

9.02
#22497F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#22497F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22497F
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22497F#FFFFFF#000000##FFFFFF
##22497F1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#21457E
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #22497f;
/* rgb */ color: rgb(34, 73, 127);
/* oklch */ color: oklch(40.6% 0.101 257.1);
Tailwind
colors: {
  custom: {
    50: '#6a7ba4',
    500: '#22497f',
    950: '#000000',
  },
}
SCSS
$custom: #22497f;
$custom-light: #6a7ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#22497f",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 127
  },
  "hsl": {
    "h": 214.839,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.1012,
    "h": 257.1
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#22497F
secondary
#B2874B
accent
#A047E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #22497F

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

Preview Lab → · Contrast checker → · Palette generator →

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