#224478#224478

#224478 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.097 H 258.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#224478
RGBrgb(34, 68, 120)
HSLhsl(216, 56%, 30%)
HSVhsv(216, 72%, 47%)
CMYKcmyk(71.7%, 43.3%, 0%, 52.9%)
CIE-LABlab(28.98, 6.48, -33.36)
CIE-LCHlch(28.98, 33.98, 281.00°)
OKLaboklab(38.96% -0.019 -0.0952)
OKLCHoklch(38.96% 0.097 258.7)
XYZxyz(6.1158, 5.8298, 18.5686)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224478 #785622
analogous
#226F78 #224478 #2B2278
triadic
#224478 #782244 #447822
tetradic
#224478 #78226F #785622 #22782B
square
#224478 #78226F #785622 #22782B
split-complementary
#224478 #782B22 #6F7822
monochromatic
#070E19 #142948 #224478 #305FA8 #497DCB

Accessibility & contrast

On white

9.70
#224478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#224478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224478
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224478#FFFFFF#000000##FFFFFF
##2244781.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497A
Deuteranopia (green-blind)
#1E4177
Tritanopia (blue-blind)
#005058
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #224478;
/* rgb */ color: rgb(34, 68, 120);
/* oklch */ color: oklch(39.0% 0.097 258.7);
Tailwind
colors: {
  custom: {
    50: '#68779f',
    500: '#224478',
    950: '#000000',
  },
}
SCSS
$custom: #224478;
$custom-light: #68779f;
$custom-dark: #000000;
JSON
{
  "hex": "#224478",
  "rgb": {
    "r": 34,
    "g": 68,
    "b": 120
  },
  "hsl": {
    "h": 216.279,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38963,
    "c": 0.09708,
    "h": 258.7
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#224478
secondary
#AB854B
accent
#A449DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #224478

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

Preview Lab → · Contrast checker → · Palette generator →

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