#224D98#224D98

#224D98 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.4% C 0.132 H 260.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#224D98
RGBrgb(34, 77, 152)
HSLhsl(218, 63%, 36%)
HSVhsv(218, 78%, 60%)
CMYKcmyk(77.6%, 49.3%, 0%, 40.4%)
CIE-LABlab(33.80, 13.05, -45.36)
CIE-LCHlch(33.80, 47.20, 286.05°)
OKLaboklab(43.36% -0.0215 -0.1303)
OKLCHoklch(43.36% 0.132 260.6)
XYZxyz(8.9790, 7.9138, 30.7540)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224D98 #986D22
analogous
#228898 #224D98 #322298
triadic
#224D98 #98224D #4D9822
tetradic
#224D98 #982288 #986D22 #229832
square
#224D98 #982288 #986D22 #229832
split-complementary
#224D98 #983222 #889822
monochromatic
#0C1A34 #173466 #224D98 #2D66CA #5A89DA

Accessibility & contrast

On white

8.13
#224D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224D98
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224D98#FFFFFF#000000##FFFFFF
##224D981.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #224d98;
/* rgb */ color: rgb(34, 77, 152);
/* oklch */ color: oklch(43.4% 0.132 260.6);
Tailwind
colors: {
  custom: {
    50: '#6f7eb7',
    500: '#224d98',
    950: '#000000',
  },
}
SCSS
$custom: #224d98;
$custom-light: #6f7eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#224d98",
  "rgb": {
    "r": 34,
    "g": 77,
    "b": 152
  },
  "hsl": {
    "h": 218.136,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43358,
    "c": 0.13207,
    "h": 260.6
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#224D98
secondary
#BE9957
accent
#AA41E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #224D98

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

Preview Lab → · Contrast checker → · Palette generator →

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