#224EA2#224EA2

#224EA2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.145 H 261.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#224EA2
RGBrgb(34, 78, 162)
HSLhsl(219, 65%, 38%)
HSVhsv(219, 79%, 64%)
CMYKcmyk(79%, 51.9%, 0%, 36.5%)
CIE-LABlab(34.80, 16.34, -49.78)
CIE-LCHlch(34.80, 52.39, 288.17°)
OKLaboklab(44.34% -0.0209 -0.1433)
OKLCHoklch(44.34% 0.145 261.7)
XYZxyz(9.9033, 8.3963, 35.2741)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224EA2 #A27622
analogous
#228EA2 #224EA2 #3622A2
triadic
#224EA2 #A2224E #4EA222
tetradic
#224EA2 #A2228E #A27622 #22A236
square
#224EA2 #A2228E #A27622 #22A236
split-complementary
#224EA2 #A23622 #8EA222
monochromatic
#0D1D3D #17366F #224EA2 #2E67D3 #618CDE

Accessibility & contrast

On white

7.84
#224EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#224EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224EA2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224EA2#FFFFFF#000000##FFFFFF
##224EA21.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #224ea2;
/* rgb */ color: rgb(34, 78, 162);
/* oklch */ color: oklch(44.3% 0.145 261.7);
Tailwind
colors: {
  custom: {
    50: '#717ebe',
    500: '#224ea2',
    950: '#000000',
  },
}
SCSS
$custom: #224ea2;
$custom-light: #717ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#224ea2",
  "rgb": {
    "r": 34,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 219.375,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44341,
    "c": 0.14483,
    "h": 261.7
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#224EA2
secondary
#C3A05D
accent
#AE40E8
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #224EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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