#22457D#22457D

#22457D is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.103 H 259.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#22457D
RGBrgb(34, 69, 125)
HSLhsl(217, 57%, 31%)
HSVhsv(217, 73%, 49%)
CMYKcmyk(72.8%, 44.8%, 0%, 51%)
CIE-LABlab(29.60, 7.77, -35.49)
CIE-LCHlch(29.60, 36.34, 282.36°)
OKLaboklab(39.55% -0.019 -0.1014)
OKLCHoklch(39.55% 0.103 259.4)
XYZxyz(6.4881, 6.0763, 20.2290)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22457D #7D5A22
analogous
#22727D #22457D #2C227D
triadic
#22457D #7D2245 #457D22
tetradic
#22457D #7D2272 #7D5A22 #227D2C
square
#22457D #7D2272 #7D5A22 #227D2C
split-complementary
#22457D #7D2C22 #727D22
monochromatic
#08101D #152A4D #22457D #2F60AD #4B7ECE

Accessibility & contrast

On white

9.48
#22457D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#22457D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22457D
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22457D#FFFFFF#000000##FFFFFF
##22457D1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7F
Deuteranopia (green-blind)
#1A427C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #22457d;
/* rgb */ color: rgb(34, 69, 125);
/* oklch */ color: oklch(39.5% 0.103 259.4);
Tailwind
colors: {
  custom: {
    50: '#6978a3',
    500: '#22457d',
    950: '#000000',
  },
}
SCSS
$custom: #22457d;
$custom-light: #6978a3;
$custom-dark: #000000;
JSON
{
  "hex": "#22457d",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 125
  },
  "hsl": {
    "h": 216.923,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39549,
    "c": 0.1032,
    "h": 259.4
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#22457D
secondary
#B0894B
accent
#A647E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #22457D

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

Preview Lab → · Contrast checker → · Palette generator →

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