#22457F#22457F

#22457F is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.106 H 259.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#22457F
RGBrgb(34, 69, 127)
HSLhsl(217, 58%, 32%)
HSVhsv(217, 73%, 50%)
CMYKcmyk(73.2%, 45.7%, 0%, 50.2%)
CIE-LABlab(29.73, 8.57, -36.54)
CIE-LCHlch(29.73, 37.53, 283.20°)
OKLaboklab(39.69% -0.0185 -0.1045)
OKLCHoklch(39.69% 0.106 259.9)
XYZxyz(6.6172, 6.1279, 20.9086)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22457F #7F5C22
analogous
#22747F #22457F #2D227F
triadic
#22457F #7F2245 #457F22
tetradic
#22457F #7F2274 #7F5C22 #227F2D
square
#22457F #7F2274 #7F5C22 #227F2D
split-complementary
#22457F #7F2D22 #747F22
monochromatic
#08111E #152B4F #22457F #2F5FAF #4C7ECF

Accessibility & contrast

On white

9.43
#22457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#22457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22457F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22457F#FFFFFF#000000##FFFFFF
##22457F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B81
Deuteranopia (green-blind)
#17427E
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #22457f;
/* rgb */ color: rgb(34, 69, 127);
/* oklch */ color: oklch(39.7% 0.106 259.9);
Tailwind
colors: {
  custom: {
    50: '#6a78a4',
    500: '#22457f',
    950: '#000000',
  },
}
SCSS
$custom: #22457f;
$custom-light: #6a78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#22457f",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 217.419,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3969,
    "c": 0.10614,
    "h": 259.9
  },
  "luminance": 0.06129
}

Semantic roles & 50–950 ramp

primary
#22457F
secondary
#B28B4B
accent
#A747E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #22457F

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

Preview Lab → · Contrast checker → · Palette generator →

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