#224988#224988

#224988 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.114 H 259.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#224988
RGBrgb(34, 73, 136)
HSLhsl(217, 60%, 33%)
HSVhsv(217, 75%, 53%)
CMYKcmyk(75%, 46.3%, 0%, 46.7%)
CIE-LABlab(31.54, 9.41, -39.22)
CIE-LCHlch(31.54, 40.34, 283.50°)
OKLaboklab(41.27% -0.0206 -0.1123)
OKLCHoklch(41.27% 0.114 259.6)
XYZxyz(7.4846, 6.8819, 24.2217)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224988 #886122
analogous
#227C88 #224988 #2E2288
triadic
#224988 #882249 #498822
tetradic
#224988 #88227C #886122 #22882E
square
#224988 #88227C #886122 #22882E
split-complementary
#224988 #882E22 #7C8822
monochromatic
#0A1426 #162F57 #224988 #2E63B9 #5183D3

Accessibility & contrast

On white

8.84
#224988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#224988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224988
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224988#FFFFFF#000000##FFFFFF
##2249881.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F8A
Deuteranopia (green-blind)
#144687
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #224988;
/* rgb */ color: rgb(34, 73, 136);
/* oklch */ color: oklch(41.3% 0.114 259.6);
Tailwind
colors: {
  custom: {
    50: '#6c7bab',
    500: '#224988',
    950: '#000000',
  },
}
SCSS
$custom: #224988;
$custom-light: #6c7bab;
$custom-dark: #000000;
JSON
{
  "hex": "#224988",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 136
  },
  "hsl": {
    "h": 217.059,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41271,
    "c": 0.11423,
    "h": 259.6
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#224988
secondary
#B78F4F
accent
#A745E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #224988

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

Preview Lab → · Contrast checker → · Palette generator →

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