#224AA1#224AA1

#224AA1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.148 H 263.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#224AA1
RGBrgb(34, 74, 161)
HSLhsl(221, 65%, 38%)
HSVhsv(221, 79%, 63%)
CMYKcmyk(78.9%, 54%, 0%, 36.9%)
CIE-LABlab(33.58, 18.64, -51.14)
CIE-LCHlch(33.58, 54.43, 290.02°)
OKLaboklab(43.4% -0.0179 -0.1474)
OKLCHoklch(43.4% 0.148 263.1)
XYZxyz(9.5392, 7.8097, 34.7160)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224AA1 #A17922
analogous
#2289A1 #224AA1 #3922A1
triadic
#224AA1 #A1224A #4AA122
tetradic
#224AA1 #A12289 #A17922 #22A139
square
#224AA1 #A12289 #A17922 #22A139
split-complementary
#224AA1 #A13922 #89A122
monochromatic
#0D1C3C #17336E #224AA1 #2D62D3 #6087DD

Accessibility & contrast

On white

8.20
#224AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#224AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224AA1
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224AA1#FFFFFF#000000##FFFFFF
##224AA11.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0555A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #224aa1;
/* rgb */ color: rgb(34, 74, 161);
/* oklch */ color: oklch(43.4% 0.148 263.1);
Tailwind
colors: {
  custom: {
    50: '#717bbd',
    500: '#224aa1',
    950: '#000000',
  },
}
SCSS
$custom: #224aa1;
$custom-light: #717bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#224aa1",
  "rgb": {
    "r": 34,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 221.102,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43396,
    "c": 0.14848,
    "h": 263.1
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#224AA1
secondary
#C2A25D
accent
#B340E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #224AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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