#224079#224079

#224079 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.104 H 261.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#224079
RGBrgb(34, 64, 121)
HSLhsl(219, 56%, 30%)
HSVhsv(219, 72%, 47%)
CMYKcmyk(71.9%, 47.1%, 0%, 52.5%)
CIE-LABlab(27.81, 9.62, -35.86)
CIE-LCHlch(27.81, 37.13, 285.02°)
OKLaboklab(38.08% -0.0147 -0.1026)
OKLCHoklch(38.08% 0.104 261.9)
XYZxyz(5.9430, 5.3867, 18.8120)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224079 #795B22
analogous
#226B79 #224079 #2F2279
triadic
#224079 #792240 #407922
tetradic
#224079 #79226B #795B22 #22792F
square
#224079 #79226B #795B22 #22792F
split-complementary
#224079 #792F22 #6B7922
monochromatic
#070D19 #152749 #224079 #2F59A9 #4976CC

Accessibility & contrast

On white

10.11
#224079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#224079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224079
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224079#FFFFFF#000000##FFFFFF
##2240791.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467B
Deuteranopia (green-blind)
#133E78
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #224079;
/* rgb */ color: rgb(34, 64, 121);
/* oklch */ color: oklch(38.1% 0.104 261.9);
Tailwind
colors: {
  custom: {
    50: '#6874a0',
    500: '#224079',
    950: '#000000',
  },
}
SCSS
$custom: #224079;
$custom-light: #6874a0;
$custom-dark: #000000;
JSON
{
  "hex": "#224079",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 219.31,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38081,
    "c": 0.10366,
    "h": 261.9
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#224079
secondary
#AC8A4B
accent
#AB48DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #224079

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

Preview Lab → · Contrast checker → · Palette generator →

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