#224792#224792

#224792 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.131 H 262.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#224792
RGBrgb(34, 71, 146)
HSLhsl(220, 62%, 35%)
HSVhsv(220, 77%, 57%)
CMYKcmyk(76.7%, 51.4%, 0%, 42.7%)
CIE-LABlab(31.63, 14.74, -45.22)
CIE-LCHlch(31.63, 47.56, 288.06°)
OKLaboklab(41.56% -0.0172 -0.13)
OKLCHoklch(41.56% 0.131 262.5)
XYZxyz(8.0994, 6.9210, 28.0976)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224792 #926D22
analogous
#227F92 #224792 #352292
triadic
#224792 #922247 #479222
tetradic
#224792 #92227F #926D22 #229235
square
#224792 #92227F #926D22 #229235
split-complementary
#224792 #923522 #7F9222
monochromatic
#0B172F #162F60 #224792 #2E5FC4 #5781D8

Accessibility & contrast

On white

8.81
#224792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224792
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224792#FFFFFF#000000##FFFFFF
##2247921.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195095
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #224792;
/* rgb */ color: rgb(34, 71, 146);
/* oklch */ color: oklch(41.6% 0.131 262.5);
Tailwind
colors: {
  custom: {
    50: '#6e79b2',
    500: '#224792',
    950: '#000000',
  },
}
SCSS
$custom: #224792;
$custom-light: #6e79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#224792",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 220.179,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41559,
    "c": 0.13115,
    "h": 262.5
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#224792
secondary
#BC9A54
accent
#B043E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #224792

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

Preview Lab → · Contrast checker → · Palette generator →

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