#224EA1#224EA1

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

Color values

HEX#224EA1
RGBrgb(34, 78, 161)
HSLhsl(219, 65%, 38%)
HSVhsv(219, 79%, 63%)
CMYKcmyk(78.9%, 51.6%, 0%, 36.9%)
CIE-LABlab(34.72, 15.94, -49.30)
CIE-LCHlch(34.72, 51.81, 287.92°)
OKLaboklab(44.26% -0.021 -0.1419)
OKLCHoklch(44.26% 0.143 261.6)
XYZxyz(9.8148, 8.3609, 34.8078)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224EA1 #A17522
analogous
#228DA1 #224EA1 #3622A1
triadic
#224EA1 #A1224E #4EA122
tetradic
#224EA1 #A1228D #A17522 #22A136
square
#224EA1 #A1228D #A17522 #22A136
split-complementary
#224EA1 #A13622 #8DA122
monochromatic
#0D1D3C #17366E #224EA1 #2D67D3 #608BDD

Accessibility & contrast

On white

7.86
#224EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#224EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224EA1
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224EA1#FFFFFF#000000##FFFFFF
##224EA11.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #224ea1;
/* rgb */ color: rgb(34, 78, 161);
/* oklch */ color: oklch(44.3% 0.143 261.6);
Tailwind
colors: {
  custom: {
    50: '#717ebd',
    500: '#224ea1',
    950: '#000000',
  },
}
SCSS
$custom: #224ea1;
$custom-light: #717ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#224ea1",
  "rgb": {
    "r": 34,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 219.213,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44264,
    "c": 0.14344,
    "h": 261.6
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #224EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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