#224EA7#224EA7

#224EA7 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.152 H 262.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#224EA7
RGBrgb(34, 78, 167)
HSLhsl(220, 66%, 39%)
HSVhsv(220, 80%, 65%)
CMYKcmyk(79.6%, 53.3%, 0%, 34.5%)
CIE-LABlab(35.16, 18.31, -52.19)
CIE-LCHlch(35.16, 55.31, 289.33°)
OKLaboklab(44.73% -0.0203 -0.1504)
OKLCHoklch(44.73% 0.152 262.3)
XYZxyz(10.3566, 8.5777, 37.6615)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224EA7 #A77B22
analogous
#2291A7 #224EA7 #3822A7
triadic
#224EA7 #A7224E #4EA722
tetradic
#224EA7 #A72291 #A77B22 #22A738
square
#224EA7 #A72291 #A77B22 #22A738
split-complementary
#224EA7 #A73822 #91A722
monochromatic
#0D1F41 #183674 #224EA7 #3167D5 #648DDF

Accessibility & contrast

On white

7.73
#224EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#224EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224EA7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224EA7#FFFFFF#000000##FFFFFF
##224EA71.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B59AA
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #224ea7;
/* rgb */ color: rgb(34, 78, 167);
/* oklch */ color: oklch(44.7% 0.152 262.3);
Tailwind
colors: {
  custom: {
    50: '#737ec2',
    500: '#224ea7',
    950: '#000000',
  },
}
SCSS
$custom: #224ea7;
$custom-light: #737ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#224ea7",
  "rgb": {
    "r": 34,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 220.15,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44733,
    "c": 0.15175,
    "h": 262.3
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#224EA7
secondary
#C5A360
accent
#B13FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #224EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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