#224FA5#224FA5

#224FA5 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.148 H 261.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#224FA5
RGBrgb(34, 79, 165)
HSLhsl(219, 66%, 39%)
HSVhsv(219, 79%, 65%)
CMYKcmyk(79.4%, 52.1%, 0%, 35.3%)
CIE-LABlab(35.30, 16.85, -50.77)
CIE-LCHlch(35.30, 53.49, 288.36°)
OKLaboklab(44.79% -0.0213 -0.1462)
OKLCHoklch(44.79% 0.148 261.7)
XYZxyz(10.2448, 8.6475, 36.7192)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224FA5 #A57822
analogous
#2291A5 #224FA5 #3622A5
triadic
#224FA5 #A5224F #4FA522
tetradic
#224FA5 #A52291 #A57822 #22A536
square
#224FA5 #A52291 #A57822 #22A536
split-complementary
#224FA5 #A53622 #91A522
monochromatic
#0D1E40 #183772 #224FA5 #3068D4 #638DDF

Accessibility & contrast

On white

7.69
#224FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#224FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224FA5
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224FA5#FFFFFF#000000##FFFFFF
##224FA51.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #224fa5;
/* rgb */ color: rgb(34, 79, 165);
/* oklch */ color: oklch(44.8% 0.148 261.7);
Tailwind
colors: {
  custom: {
    50: '#727fc0',
    500: '#224fa5',
    950: '#000000',
  },
}
SCSS
$custom: #224fa5;
$custom-light: #727fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#224fa5",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 219.389,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44792,
    "c": 0.14774,
    "h": 261.7
  },
  "luminance": 0.08649
}

Semantic roles & 50–950 ramp

primary
#224FA5
secondary
#C4A15F
accent
#AE3FE9
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #224FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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