#224796#224796

#224796 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.137 H 263.0°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#224796
RGBrgb(34, 71, 150)
HSLhsl(221, 63%, 36%)
HSVhsv(221, 77%, 59%)
CMYKcmyk(77.3%, 52.7%, 0%, 41.2%)
CIE-LABlab(31.91, 16.33, -47.19)
CIE-LCHlch(31.91, 49.93, 289.08°)
OKLaboklab(41.87% -0.0167 -0.1358)
OKLCHoklch(41.87% 0.137 263)
XYZxyz(8.4160, 7.0476, 29.7650)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224796 #967122
analogous
#228196 #224796 #372296
triadic
#224796 #962247 #479622
tetradic
#224796 #962281 #967122 #229637
square
#224796 #962281 #967122 #229637
split-complementary
#224796 #963722 #819622
monochromatic
#0B1832 #172F64 #224796 #2D5FC8 #5982D9

Accessibility & contrast

On white

8.71
#224796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#224796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224796
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224796#FFFFFF#000000##FFFFFF
##2247961.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125199
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #224796;
/* rgb */ color: rgb(34, 71, 150);
/* oklch */ color: oklch(41.9% 0.137 263.0);
Tailwind
colors: {
  custom: {
    50: '#6f79b5',
    500: '#224796',
    950: '#000000',
  },
}
SCSS
$custom: #224796;
$custom-light: #6f79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#224796",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 220.862,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41871,
    "c": 0.13685,
    "h": 263
  },
  "luminance": 0.07049
}

Semantic roles & 50–950 ramp

primary
#224796
secondary
#BE9D56
accent
#B242E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #224796

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

Preview Lab → · Contrast checker → · Palette generator →

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