#224998#224998

#224998 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.137 H 262.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#224998
RGBrgb(34, 73, 152)
HSLhsl(220, 63%, 36%)
HSVhsv(220, 78%, 60%)
CMYKcmyk(77.6%, 52%, 0%, 40.4%)
CIE-LABlab(32.64, 15.76, -47.24)
CIE-LCHlch(32.64, 49.80, 288.45°)
OKLaboklab(42.47% -0.0181 -0.1359)
OKLCHoklch(42.47% 0.137 262.4)
XYZxyz(8.7077, 7.3712, 30.6635)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224998 #987122
analogous
#228498 #224998 #362298
triadic
#224998 #982249 #499822
tetradic
#224998 #982284 #987122 #229836
square
#224998 #982284 #987122 #229836
split-complementary
#224998 #983622 #849822
monochromatic
#0C1934 #173166 #224998 #2D61CA #5A85DA

Accessibility & contrast

On white

8.49
#224998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224998
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224998#FFFFFF#000000##FFFFFF
##2249981.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #224998;
/* rgb */ color: rgb(34, 73, 152);
/* oklch */ color: oklch(42.5% 0.137 262.4);
Tailwind
colors: {
  custom: {
    50: '#6f7bb7',
    500: '#224998',
    950: '#000000',
  },
}
SCSS
$custom: #224998;
$custom-light: #6f7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#224998",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 152
  },
  "hsl": {
    "h": 220.169,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42467,
    "c": 0.13712,
    "h": 262.4
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #224998

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

Preview Lab → · Contrast checker → · Palette generator →

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