#224EA5#224EA5

#224EA5 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.149 H 262.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#224EA5
RGBrgb(34, 78, 165)
HSLhsl(220, 66%, 39%)
HSVhsv(220, 79%, 65%)
CMYKcmyk(79.4%, 52.7%, 0%, 35.3%)
CIE-LABlab(35.01, 17.52, -51.23)
CIE-LCHlch(35.01, 54.14, 288.88°)
OKLaboklab(44.58% -0.0205 -0.1476)
OKLCHoklch(44.58% 0.149 262.1)
XYZxyz(10.1732, 8.5043, 36.6953)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224EA5 #A57922
analogous
#2290A5 #224EA5 #3722A5
triadic
#224EA5 #A5224E #4EA522
tetradic
#224EA5 #A52290 #A57922 #22A537
square
#224EA5 #A52290 #A57922 #22A537
split-complementary
#224EA5 #A53722 #90A522
monochromatic
#0D1E40 #183672 #224EA5 #3067D4 #638CDF

Accessibility & contrast

On white

7.77
#224EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#224EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224EA5
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224EA5#FFFFFF#000000##FFFFFF
##224EA51.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #224ea5;
/* rgb */ color: rgb(34, 78, 165);
/* oklch */ color: oklch(44.6% 0.149 262.1);
Tailwind
colors: {
  custom: {
    50: '#727ec0',
    500: '#224ea5',
    950: '#000000',
  },
}
SCSS
$custom: #224ea5;
$custom-light: #727ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#224ea5",
  "rgb": {
    "r": 34,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 219.847,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44575,
    "c": 0.14899,
    "h": 262.1
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#224EA5
secondary
#C4A25F
accent
#B03FE9
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #224EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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