#224899#224899

#224899 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.140 H 262.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#224899
RGBrgb(34, 72, 153)
HSLhsl(221, 64%, 37%)
HSVhsv(221, 78%, 60%)
CMYKcmyk(77.8%, 52.9%, 0%, 40%)
CIE-LABlab(32.42, 16.83, -48.19)
CIE-LCHlch(32.42, 51.05, 289.25°)
OKLaboklab(42.33% -0.0172 -0.1388)
OKLCHoklch(42.33% 0.14 262.9)
XYZxyz(8.7248, 7.2737, 31.0750)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224899 #997322
analogous
#228499 #224899 #382299
triadic
#224899 #992248 #489922
tetradic
#224899 #992284 #997322 #229938
square
#224899 #992284 #997322 #229938
split-complementary
#224899 #993822 #849922
monochromatic
#0C1935 #173067 #224899 #2D60CB #5B84DB

Accessibility & contrast

On white

8.55
#224899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224899
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224899#FFFFFF#000000##FFFFFF
##2248991.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10529C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #224899;
/* rgb */ color: rgb(34, 72, 153);
/* oklch */ color: oklch(42.3% 0.140 262.9);
Tailwind
colors: {
  custom: {
    50: '#707ab8',
    500: '#224899',
    950: '#000000',
  },
}
SCSS
$custom: #224899;
$custom-light: #707ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#224899",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 220.84,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42326,
    "c": 0.13981,
    "h": 262.9
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#224899
secondary
#BF9E58
accent
#B241E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #224899

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

Preview Lab → · Contrast checker → · Palette generator →

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