#224791#224791

#224791 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.130 H 262.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#224791
RGBrgb(34, 71, 145)
HSLhsl(220, 62%, 35%)
HSVhsv(220, 77%, 57%)
CMYKcmyk(76.6%, 51%, 0%, 43.1%)
CIE-LABlab(31.56, 14.34, -44.72)
CIE-LCHlch(31.56, 46.96, 287.78°)
OKLaboklab(41.48% -0.0174 -0.1285)
OKLCHoklch(41.48% 0.13 262.3)
XYZxyz(8.0219, 6.8900, 27.6897)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224791 #916C22
analogous
#227E91 #224791 #352291
triadic
#224791 #912247 #479122
tetradic
#224791 #91227E #916C22 #229135
square
#224791 #91227E #916C22 #229135
split-complementary
#224791 #913522 #7E9122
monochromatic
#0B162E #162F5F #224791 #2E5FC3 #5681D7

Accessibility & contrast

On white

8.83
#224791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224791
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224791#FFFFFF#000000##FFFFFF
##2247911.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #224791;
/* rgb */ color: rgb(34, 71, 145);
/* oklch */ color: oklch(41.5% 0.130 262.3);
Tailwind
colors: {
  custom: {
    50: '#6e79b2',
    500: '#224791',
    950: '#000000',
  },
}
SCSS
$custom: #224791;
$custom-light: #6e79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#224791",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 220,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.12972,
    "h": 262.3
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#224791
secondary
#BB9953
accent
#AF43E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #224791

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

Preview Lab → · Contrast checker → · Palette generator →

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