#224579#224579

#224579 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.097 H 258.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#224579
RGBrgb(34, 69, 121)
HSLhsl(216, 56%, 30%)
HSVhsv(216, 72%, 47%)
CMYKcmyk(71.9%, 43%, 0%, 52.5%)
CIE-LABlab(29.35, 6.20, -33.39)
CIE-LCHlch(29.35, 33.96, 280.52°)
OKLaboklab(39.27% -0.0198 -0.0953)
OKLCHoklch(39.27% 0.097 258.2)
XYZxyz(6.2378, 5.9762, 18.9102)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224579 #795622
analogous
#227079 #224579 #2A2279
triadic
#224579 #792245 #457922
tetradic
#224579 #792270 #795622 #22792A
square
#224579 #792270 #795622 #22792A
split-complementary
#224579 #792A22 #707922
monochromatic
#070F19 #152A49 #224579 #2F60A9 #497ECC

Accessibility & contrast

On white

9.57
#224579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#224579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224579
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224579#FFFFFF#000000##FFFFFF
##2245791.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#1F4178
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #224579;
/* rgb */ color: rgb(34, 69, 121);
/* oklch */ color: oklch(39.3% 0.097 258.2);
Tailwind
colors: {
  custom: {
    50: '#6878a0',
    500: '#224579',
    950: '#000000',
  },
}
SCSS
$custom: #224579;
$custom-light: #6878a0;
$custom-dark: #000000;
JSON
{
  "hex": "#224579",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 215.862,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39272,
    "c": 0.09732,
    "h": 258.2
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#224579
secondary
#AC854B
accent
#A348DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #224579

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

Preview Lab → · Contrast checker → · Palette generator →

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