#224AA2#224AA2

#224AA2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.150 H 263.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#224AA2
RGBrgb(34, 74, 162)
HSLhsl(221, 65%, 38%)
HSVhsv(221, 79%, 64%)
CMYKcmyk(79%, 54.3%, 0%, 36.5%)
CIE-LABlab(33.66, 19.03, -51.62)
CIE-LCHlch(33.66, 55.02, 290.24°)
OKLaboklab(43.48% -0.0178 -0.1488)
OKLCHoklch(43.48% 0.15 263.2)
XYZxyz(9.6277, 7.8452, 35.1823)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224AA2 #A27A22
analogous
#228AA2 #224AA2 #3A22A2
triadic
#224AA2 #A2224A #4AA222
tetradic
#224AA2 #A2228A #A27A22 #22A23A
square
#224AA2 #A2228A #A27A22 #22A23A
split-complementary
#224AA2 #A23A22 #8AA222
monochromatic
#0D1C3D #17336F #224AA2 #2E62D3 #6188DE

Accessibility & contrast

On white

8.17
#224AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#224AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224AA2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224AA2#FFFFFF#000000##FFFFFF
##224AA21.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0255A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #224aa2;
/* rgb */ color: rgb(34, 74, 162);
/* oklch */ color: oklch(43.5% 0.150 263.2);
Tailwind
colors: {
  custom: {
    50: '#727bbe',
    500: '#224aa2',
    950: '#000000',
  },
}
SCSS
$custom: #224aa2;
$custom-light: #727bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#224aa2",
  "rgb": {
    "r": 34,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 221.25,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43477,
    "c": 0.14987,
    "h": 263.2
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#224AA2
secondary
#C3A35D
accent
#B440E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #224AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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