#224AA5#224AA5

#224AA5 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.154 H 263.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#224AA5
RGBrgb(34, 74, 165)
HSLhsl(222, 66%, 39%)
HSVhsv(222, 79%, 65%)
CMYKcmyk(79.4%, 55.2%, 0%, 35.3%)
CIE-LABlab(33.88, 20.21, -53.06)
CIE-LCHlch(33.88, 56.78, 290.86°)
OKLaboklab(43.72% -0.0175 -0.153)
OKLCHoklch(43.72% 0.154 263.5)
XYZxyz(9.8976, 7.9531, 36.6035)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224AA5 #A57D22
analogous
#228CA5 #224AA5 #3B22A5
triadic
#224AA5 #A5224A #4AA522
tetradic
#224AA5 #A5228C #A57D22 #22A53B
square
#224AA5 #A5228C #A57D22 #22A53B
split-complementary
#224AA5 #A53B22 #8CA522
monochromatic
#0D1C40 #183372 #224AA5 #3062D4 #6389DF

Accessibility & contrast

On white

8.11
#224AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#224AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224AA5
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224AA5#FFFFFF#000000##FFFFFF
##224AA51.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #224aa5;
/* rgb */ color: rgb(34, 74, 165);
/* oklch */ color: oklch(43.7% 0.154 263.5);
Tailwind
colors: {
  custom: {
    50: '#727bc0',
    500: '#224aa5',
    950: '#000000',
  },
}
SCSS
$custom: #224aa5;
$custom-light: #727bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#224aa5",
  "rgb": {
    "r": 34,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 221.679,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4372,
    "c": 0.15402,
    "h": 263.5
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#224AA5
secondary
#C4A55F
accent
#B53FE9
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #224AA5

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

Preview Lab → · Contrast checker → · Palette generator →

#224AA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva