#224780#224780

#224780 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.2% C 0.105 H 258.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#224780
RGBrgb(34, 71, 128)
HSLhsl(216, 58%, 32%)
HSVhsv(216, 73%, 50%)
CMYKcmyk(73.4%, 44.5%, 0%, 49.8%)
CIE-LABlab(30.41, 7.60, -36.07)
CIE-LCHlch(30.41, 36.87, 281.90°)
OKLaboklab(40.23% -0.0203 -0.1031)
OKLCHoklch(40.23% 0.105 258.9)
XYZxyz(6.8078, 6.4043, 21.2953)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224780 #805B22
analogous
#227680 #224780 #2C2280
triadic
#224780 #802247 #478022
tetradic
#224780 #802276 #805B22 #22802C
square
#224780 #802276 #805B22 #22802C
split-complementary
#224780 #802C22 #768022
monochromatic
#08111F #152C50 #224780 #2F62B0 #4D80D0

Accessibility & contrast

On white

9.21
#224780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#224780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224780
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224780#FFFFFF#000000##FFFFFF
##2247801.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C82
Deuteranopia (green-blind)
#1B447F
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #224780;
/* rgb */ color: rgb(34, 71, 128);
/* oklch */ color: oklch(40.2% 0.105 258.9);
Tailwind
colors: {
  custom: {
    50: '#6a79a5',
    500: '#224780',
    950: '#000000',
  },
}
SCSS
$custom: #224780;
$custom-light: #6a79a5;
$custom-dark: #000000;
JSON
{
  "hex": "#224780",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 128
  },
  "hsl": {
    "h": 216.383,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40234,
    "c": 0.1051,
    "h": 258.9
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#224780
secondary
#B28A4B
accent
#A447E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #224780

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

Preview Lab → · Contrast checker → · Palette generator →

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