#224799#224799

#224799 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.141 H 263.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#224799
RGBrgb(34, 71, 153)
HSLhsl(221, 64%, 37%)
HSVhsv(221, 78%, 60%)
CMYKcmyk(77.8%, 53.6%, 0%, 40%)
CIE-LABlab(32.14, 17.51, -48.66)
CIE-LCHlch(32.14, 51.71, 289.80°)
OKLaboklab(42.11% -0.0164 -0.1401)
OKLCHoklch(42.11% 0.141 263.3)
XYZxyz(8.6606, 7.1455, 31.0536)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224799 #997422
analogous
#228399 #224799 #392299
triadic
#224799 #992247 #479922
tetradic
#224799 #992283 #997422 #229939
square
#224799 #992283 #997422 #229939
split-complementary
#224799 #993922 #839922
monochromatic
#0C1935 #173067 #224799 #2D5ECB #5B83DB

Accessibility & contrast

On white

8.64
#224799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#224799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224799
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224799#FFFFFF#000000##FFFFFF
##2247991.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B519C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #224799;
/* rgb */ color: rgb(34, 71, 153);
/* oklch */ color: oklch(42.1% 0.141 263.3);
Tailwind
colors: {
  custom: {
    50: '#7079b8',
    500: '#224799',
    950: '#000000',
  },
}
SCSS
$custom: #224799;
$custom-light: #7079b8;
$custom-dark: #000000;
JSON
{
  "hex": "#224799",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 153
  },
  "hsl": {
    "h": 221.345,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42109,
    "c": 0.14109,
    "h": 263.3
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#224799
secondary
#BF9F58
accent
#B341E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #224799

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

Preview Lab → · Contrast checker → · Palette generator →

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