#224997#224997

#224997 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.136 H 262.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#224997
RGBrgb(34, 73, 151)
HSLhsl(220, 63%, 36%)
HSVhsv(220, 77%, 59%)
CMYKcmyk(77.5%, 51.7%, 0%, 40.8%)
CIE-LABlab(32.57, 15.36, -46.75)
CIE-LCHlch(32.57, 49.20, 288.19°)
OKLaboklab(42.39% -0.0182 -0.1345)
OKLCHoklch(42.39% 0.136 262.3)
XYZxyz(8.6261, 7.3386, 30.2340)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224997 #977022
analogous
#228497 #224997 #362297
triadic
#224997 #972249 #499722
tetradic
#224997 #972284 #977022 #229736
square
#224997 #972284 #977022 #229736
split-complementary
#224997 #973622 #849722
monochromatic
#0C1933 #173165 #224997 #2D61C9 #5A84DA

Accessibility & contrast

On white

8.51
#224997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#224997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224997
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224997#FFFFFF#000000##FFFFFF
##2249971.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #224997;
/* rgb */ color: rgb(34, 73, 151);
/* oklch */ color: oklch(42.4% 0.136 262.3);
Tailwind
colors: {
  custom: {
    50: '#6f7bb6',
    500: '#224997',
    950: '#000000',
  },
}
SCSS
$custom: #224997;
$custom-light: #6f7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#224997",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 220,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4239,
    "c": 0.13571,
    "h": 262.3
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#224997
secondary
#BE9C57
accent
#AF42E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #224997

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

Preview Lab → · Contrast checker → · Palette generator →

#224997 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva