#224F97#224F97

#224F97 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.7% C 0.128 H 259.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#224F97
RGBrgb(34, 79, 151)
HSLhsl(217, 63%, 36%)
HSVhsv(217, 77%, 59%)
CMYKcmyk(77.5%, 47.7%, 0%, 40.8%)
CIE-LABlab(34.33, 11.31, -43.91)
CIE-LCHlch(34.33, 45.34, 284.45°)
OKLaboklab(43.74% -0.0233 -0.126)
OKLCHoklch(43.74% 0.128 259.5)
XYZxyz(9.0396, 8.1654, 30.3718)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F97 #976A22
analogous
#228A97 #224F97 #302297
triadic
#224F97 #97224F #4F9722
tetradic
#224F97 #97228A #976A22 #229730
square
#224F97 #97228A #976A22 #229730
split-complementary
#224F97 #973022 #8A9722
monochromatic
#0C1B33 #173565 #224F97 #2D69C9 #5A8BDA

Accessibility & contrast

On white

7.98
#224F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#224F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224F97
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F97#FFFFFF#000000##FFFFFF
##224F971.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#094C96
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #224f97;
/* rgb */ color: rgb(34, 79, 151);
/* oklch */ color: oklch(43.7% 0.128 259.5);
Tailwind
colors: {
  custom: {
    50: '#6f7fb6',
    500: '#224f97',
    950: '#000000',
  },
}
SCSS
$custom: #224f97;
$custom-light: #6f7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#224f97",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 216.923,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43738,
    "c": 0.12815,
    "h": 259.5
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#224F97
secondary
#BE9657
accent
#A742E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #224F97

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

Preview Lab → · Contrast checker → · Palette generator →

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