#224898#224898

#224898 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.138 H 262.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#224898
RGBrgb(34, 72, 152)
HSLhsl(221, 63%, 36%)
HSVhsv(221, 78%, 60%)
CMYKcmyk(77.6%, 52.6%, 0%, 40.4%)
CIE-LABlab(32.35, 16.44, -47.70)
CIE-LCHlch(32.35, 50.46, 289.01°)
OKLaboklab(42.25% -0.0173 -0.1373)
OKLCHoklch(42.25% 0.138 262.8)
XYZxyz(8.6425, 7.2408, 30.6418)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224898 #987222
analogous
#228398 #224898 #372298
triadic
#224898 #982248 #489822
tetradic
#224898 #982283 #987222 #229837
square
#224898 #982283 #987222 #229837
split-complementary
#224898 #983722 #839822
monochromatic
#0C1934 #173066 #224898 #2D60CA #5A83DA

Accessibility & contrast

On white

8.58
#224898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#224898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224898
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224898#FFFFFF#000000##FFFFFF
##2248981.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #224898;
/* rgb */ color: rgb(34, 72, 152);
/* oklch */ color: oklch(42.2% 0.138 262.8);
Tailwind
colors: {
  custom: {
    50: '#6f7ab7',
    500: '#224898',
    950: '#000000',
  },
}
SCSS
$custom: #224898;
$custom-light: #6f7ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#224898",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 220.678,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42248,
    "c": 0.1384,
    "h": 262.8
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#224898
secondary
#BE9D57
accent
#B141E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #224898

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

Preview Lab → · Contrast checker → · Palette generator →

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