#224882#224882

#224882 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.107 H 258.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#224882
RGBrgb(34, 72, 130)
HSLhsl(216, 59%, 32%)
HSVhsv(216, 74%, 51%)
CMYKcmyk(73.8%, 44.6%, 0%, 49%)
CIE-LABlab(30.84, 7.72, -36.62)
CIE-LCHlch(30.84, 37.43, 281.90°)
OKLaboklab(40.61% -0.0209 -0.1047)
OKLCHoklch(40.61% 0.107 258.7)
XYZxyz(7.0049, 6.5858, 22.0168)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224882 #825C22
analogous
#227882 #224882 #2C2282
triadic
#224882 #822248 #488222
tetradic
#224882 #822278 #825C22 #22822C
square
#224882 #822278 #825C22 #22822C
split-complementary
#224882 #822C22 #788222
monochromatic
#091221 #152D51 #224882 #2F63B3 #4E82D1

Accessibility & contrast

On white

9.06
#224882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#224882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224882
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224882#FFFFFF#000000##FFFFFF
##2248821.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4D84
Deuteranopia (green-blind)
#1B4481
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #224882;
/* rgb */ color: rgb(34, 72, 130);
/* oklch */ color: oklch(40.6% 0.107 258.7);
Tailwind
colors: {
  custom: {
    50: '#6a7aa7',
    500: '#224882',
    950: '#000000',
  },
}
SCSS
$custom: #224882;
$custom-light: #6a7aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#224882",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 130
  },
  "hsl": {
    "h": 216.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40611,
    "c": 0.10678,
    "h": 258.7
  },
  "luminance": 0.06587
}

Semantic roles & 50–950 ramp

primary
#224882
secondary
#B48B4C
accent
#A446E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #224882

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

Preview Lab → · Contrast checker → · Palette generator →

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