#224AA7#224AA7

#224AA7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.157 H 263.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#224AA7
RGBrgb(34, 74, 167)
HSLhsl(222, 66%, 39%)
HSVhsv(222, 80%, 65%)
CMYKcmyk(79.6%, 55.7%, 0%, 34.5%)
CIE-LABlab(34.04, 21.00, -54.01)
CIE-LCHlch(34.04, 57.94, 291.25°)
OKLaboklab(43.88% -0.0174 -0.1558)
OKLCHoklch(43.88% 0.157 263.6)
XYZxyz(10.0810, 8.0265, 37.5697)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224AA7 #A77F22
analogous
#228DA7 #224AA7 #3D22A7
triadic
#224AA7 #A7224A #4AA722
tetradic
#224AA7 #A7228D #A77F22 #22A73D
square
#224AA7 #A7228D #A77F22 #22A73D
split-complementary
#224AA7 #A73D22 #8DA722
monochromatic
#0D1D41 #183374 #224AA7 #3162D5 #6489DF

Accessibility & contrast

On white

8.06
#224AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224AA7
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224AA7#FFFFFF#000000##FFFFFF
##224AA71.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #224aa7;
/* rgb */ color: rgb(34, 74, 167);
/* oklch */ color: oklch(43.9% 0.157 263.6);
Tailwind
colors: {
  custom: {
    50: '#737bc2',
    500: '#224aa7',
    950: '#000000',
  },
}
SCSS
$custom: #224aa7;
$custom-light: #737bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#224aa7",
  "rgb": {
    "r": 34,
    "g": 74,
    "b": 167
  },
  "hsl": {
    "h": 221.955,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43884,
    "c": 0.15678,
    "h": 263.6
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #224AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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