#224982#224982

#224982 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.8% C 0.106 H 258.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#224982
RGBrgb(34, 73, 130)
HSLhsl(216, 59%, 32%)
HSVhsv(216, 74%, 51%)
CMYKcmyk(73.8%, 43.8%, 0%, 49%)
CIE-LABlab(31.15, 7.04, -36.13)
CIE-LCHlch(31.15, 36.81, 281.02°)
OKLaboklab(40.85% -0.0219 -0.1033)
OKLCHoklch(40.85% 0.106 258)
XYZxyz(7.0700, 6.7161, 22.0385)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224982 #825B22
analogous
#227982 #224982 #2B2282
triadic
#224982 #822249 #498222
tetradic
#224982 #822279 #825B22 #22822B
square
#224982 #822279 #825B22 #22822B
split-complementary
#224982 #822B22 #798222
monochromatic
#091321 #152E51 #224982 #2F64B3 #4E83D1

Accessibility & contrast

On white

8.96
#224982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#224982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224982
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224982#FFFFFF#000000##FFFFFF
##2249821.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4E84
Deuteranopia (green-blind)
#1D4581
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #224982;
/* rgb */ color: rgb(34, 73, 130);
/* oklch */ color: oklch(40.8% 0.106 258.0);
Tailwind
colors: {
  custom: {
    50: '#6a7ba7',
    500: '#224982',
    950: '#000000',
  },
}
SCSS
$custom: #224982;
$custom-light: #6a7ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#224982",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 215.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40849,
    "c": 0.10555,
    "h": 258
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#224982
secondary
#B48A4C
accent
#A246E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #224982

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

Preview Lab → · Contrast checker → · Palette generator →

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