#224FA1#224FA1

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

Color values

HEX#224FA1
RGBrgb(34, 79, 161)
HSLhsl(219, 65%, 38%)
HSVhsv(219, 79%, 63%)
CMYKcmyk(78.9%, 50.9%, 0%, 36.9%)
CIE-LABlab(35.01, 15.27, -48.83)
CIE-LCHlch(35.01, 51.16, 287.36°)
OKLaboklab(44.48% -0.0218 -0.1405)
OKLCHoklch(44.48% 0.142 261.2)
XYZxyz(9.8864, 8.5041, 34.8317)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224FA1 #A17422
analogous
#228EA1 #224FA1 #3422A1
triadic
#224FA1 #A1224F #4FA122
tetradic
#224FA1 #A1228E #A17422 #22A134
square
#224FA1 #A1228E #A17422 #22A134
split-complementary
#224FA1 #A13422 #8EA122
monochromatic
#0D1D3C #17366E #224FA1 #2D68D3 #608CDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##224FA1#FFFFFF#000000##FFFFFF
##224FA11.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)
#1C58A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #224fa1;
/* rgb */ color: rgb(34, 79, 161);
/* oklch */ color: oklch(44.5% 0.142 261.2);
Tailwind
colors: {
  custom: {
    50: '#717fbd',
    500: '#224fa1',
    950: '#000000',
  },
}
SCSS
$custom: #224fa1;
$custom-light: #717fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#224fa1",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 218.74,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44484,
    "c": 0.14218,
    "h": 261.2
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#224FA1
secondary
#C29E5D
accent
#AC40E8
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #224FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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