#224989#224989

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

Color values

HEX#224989
RGBrgb(34, 73, 137)
HSLhsl(217, 60%, 34%)
HSVhsv(217, 75%, 54%)
CMYKcmyk(75.2%, 46.7%, 0%, 46.3%)
CIE-LABlab(31.60, 9.81, -39.73)
CIE-LCHlch(31.60, 40.93, 283.87°)
OKLaboklab(41.34% -0.0204 -0.1138)
OKLCHoklch(41.34% 0.116 259.8)
XYZxyz(7.5560, 6.9105, 24.5977)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224989 #896222
analogous
#227C89 #224989 #2F2289
triadic
#224989 #892249 #498922
tetradic
#224989 #89227C #896222 #22892F
square
#224989 #89227C #896222 #22892F
split-complementary
#224989 #892F22 #7C8922
monochromatic
#0A1527 #162F58 #224989 #2E63BA #5183D4

Accessibility & contrast

On white

8.82
#224989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224989
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224989#FFFFFF#000000##FFFFFF
##2249891.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8B
Deuteranopia (green-blind)
#124688
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #224989;
/* rgb */ color: rgb(34, 73, 137);
/* oklch */ color: oklch(41.3% 0.116 259.8);
Tailwind
colors: {
  custom: {
    50: '#6c7bac',
    500: '#224989',
    950: '#000000',
  },
}
SCSS
$custom: #224989;
$custom-light: #6c7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#224989",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 217.282,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.11567,
    "h": 259.8
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#224989
secondary
#B8904F
accent
#A744E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #224989

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

Preview Lab → · Contrast checker → · Palette generator →

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