#224D97#224D97

#224D97 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.131 H 260.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#224D97
RGBrgb(34, 77, 151)
HSLhsl(218, 63%, 36%)
HSVhsv(218, 77%, 59%)
CMYKcmyk(77.5%, 49%, 0%, 40.8%)
CIE-LABlab(33.73, 12.66, -44.86)
CIE-LCHlch(33.73, 46.61, 285.76°)
OKLaboklab(43.28% -0.0216 -0.1288)
OKLCHoklch(43.28% 0.131 260.5)
XYZxyz(8.8975, 7.8812, 30.3245)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224D97 #976C22
analogous
#228897 #224D97 #322297
triadic
#224D97 #97224D #4D9722
tetradic
#224D97 #972288 #976C22 #229732
square
#224D97 #972288 #976C22 #229732
split-complementary
#224D97 #973222 #889722
monochromatic
#0C1A33 #173465 #224D97 #2D66C9 #5A89DA

Accessibility & contrast

On white

8.15
#224D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#224D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224D97
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224D97#FFFFFF#000000##FFFFFF
##224D971.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #224d97;
/* rgb */ color: rgb(34, 77, 151);
/* oklch */ color: oklch(43.3% 0.131 260.5);
Tailwind
colors: {
  custom: {
    50: '#6f7eb6',
    500: '#224d97',
    950: '#000000',
  },
}
SCSS
$custom: #224d97;
$custom-light: #6f7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#224d97",
  "rgb": {
    "r": 34,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 217.949,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43284,
    "c": 0.13065,
    "h": 260.5
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#224D97
secondary
#BE9857
accent
#AA42E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #224D97

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

Preview Lab → · Contrast checker → · Palette generator →

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