#224AA8#224AA8

#224AA8 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.158 H 263.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#224AA8
RGBrgb(34, 74, 168)
HSLhsl(222, 66%, 40%)
HSVhsv(222, 80%, 66%)
CMYKcmyk(79.8%, 56%, 0%, 34.1%)
CIE-LABlab(34.12, 21.39, -54.48)
CIE-LCHlch(34.12, 58.53, 291.44°)
OKLaboklab(43.97% -0.0173 -0.1572)
OKLCHoklch(43.97% 0.158 263.7)
XYZxyz(10.1738, 8.0636, 38.0584)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224AA8 #A88022
analogous
#228DA8 #224AA8 #3D22A8
triadic
#224AA8 #A8224A #4AA822
tetradic
#224AA8 #A8228D #A88022 #22A83D
square
#224AA8 #A8228D #A88022 #22A83D
split-complementary
#224AA8 #A83D22 #8DA822
monochromatic
#0D1D42 #183475 #224AA8 #3263D5 #6589E0

Accessibility & contrast

On white

8.04
#224AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#224AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224AA8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224AA8#FFFFFF#000000##FFFFFF
##224AA81.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #224aa8;
/* rgb */ color: rgb(34, 74, 168);
/* oklch */ color: oklch(44.0% 0.158 263.7);
Tailwind
colors: {
  custom: {
    50: '#737bc3',
    500: '#224aa8',
    950: '#000000',
  },
}
SCSS
$custom: #224aa8;
$custom-light: #737bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#224aa8",
  "rgb": {
    "r": 34,
    "g": 74,
    "b": 168
  },
  "hsl": {
    "h": 222.09,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43966,
    "c": 0.15815,
    "h": 263.7
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#224AA8
secondary
#C5A761
accent
#B63FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #224AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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