#224794#224794

#224794 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.134 H 262.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#224794
RGBrgb(34, 71, 148)
HSLhsl(221, 63%, 36%)
HSVhsv(221, 77%, 58%)
CMYKcmyk(77%, 52%, 0%, 42%)
CIE-LABlab(31.77, 15.53, -46.21)
CIE-LCHlch(31.77, 48.75, 288.58°)
OKLaboklab(41.71% -0.017 -0.1329)
OKLCHoklch(41.71% 0.134 262.7)
XYZxyz(8.2563, 6.9838, 28.9241)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224794 #946F22
analogous
#228094 #224794 #362294
triadic
#224794 #942247 #479422
tetradic
#224794 #942280 #946F22 #229436
square
#224794 #942280 #946F22 #229436
split-complementary
#224794 #943622 #809422
monochromatic
#0B1730 #172F62 #224794 #2D5FC6 #5882D9

Accessibility & contrast

On white

8.76
#224794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#224794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224794
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224794#FFFFFF#000000##FFFFFF
##2247941.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165097
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #224794;
/* rgb */ color: rgb(34, 71, 148);
/* oklch */ color: oklch(41.7% 0.134 262.7);
Tailwind
colors: {
  custom: {
    50: '#6e79b4',
    500: '#224794',
    950: '#000000',
  },
}
SCSS
$custom: #224794;
$custom-light: #6e79b4;
$custom-dark: #000000;
JSON
{
  "hex": "#224794",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 148
  },
  "hsl": {
    "h": 220.526,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.134,
    "h": 262.7
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#224794
secondary
#BD9B55
accent
#B142E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #224794

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

Preview Lab → · Contrast checker → · Palette generator →

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