#224782#224782

#224782 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.4% C 0.108 H 259.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#224782
RGBrgb(34, 71, 130)
HSLhsl(217, 59%, 32%)
HSVhsv(217, 74%, 51%)
CMYKcmyk(73.8%, 45.4%, 0%, 49%)
CIE-LABlab(30.54, 8.39, -37.11)
CIE-LCHlch(30.54, 38.05, 282.74°)
OKLaboklab(40.38% -0.0199 -0.1062)
OKLCHoklch(40.38% 0.108 259.4)
XYZxyz(6.9407, 6.4575, 21.9954)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224782 #825D22
analogous
#227782 #224782 #2D2282
triadic
#224782 #822247 #478222
tetradic
#224782 #822277 #825D22 #22822D
square
#224782 #822277 #825D22 #22822D
split-complementary
#224782 #822D22 #778222
monochromatic
#091221 #152D51 #224782 #2F61B3 #4E80D1

Accessibility & contrast

On white

9.16
#224782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#224782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224782
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224782#FFFFFF#000000##FFFFFF
##2247821.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#184481
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #224782;
/* rgb */ color: rgb(34, 71, 130);
/* oklch */ color: oklch(40.4% 0.108 259.4);
Tailwind
colors: {
  custom: {
    50: '#6a79a7',
    500: '#224782',
    950: '#000000',
  },
}
SCSS
$custom: #224782;
$custom-light: #6a79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#224782",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 130
  },
  "hsl": {
    "h": 216.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40375,
    "c": 0.10802,
    "h": 259.4
  },
  "luminance": 0.06458
}

Semantic roles & 50–950 ramp

primary
#224782
secondary
#B48C4C
accent
#A646E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #224782

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

Preview Lab → · Contrast checker → · Palette generator →

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