#224588#224588

#224588 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.119 H 261.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#224588
RGBrgb(34, 69, 136)
HSLhsl(219, 60%, 33%)
HSVhsv(219, 75%, 53%)
CMYKcmyk(75%, 49.3%, 0%, 46.7%)
CIE-LABlab(30.33, 12.14, -41.15)
CIE-LCHlch(30.33, 42.91, 286.43°)
OKLaboklab(40.35% -0.0169 -0.1181)
OKLCHoklch(40.35% 0.119 261.8)
XYZxyz(7.2302, 6.3731, 24.1369)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224588 #886522
analogous
#227888 #224588 #322288
triadic
#224588 #882245 #458822
tetradic
#224588 #882278 #886522 #228832
square
#224588 #882278 #886522 #228832
split-complementary
#224588 #883222 #788822
monochromatic
#0A1326 #162C57 #224588 #2E5EB9 #517ED3

Accessibility & contrast

On white

9.23
#224588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#224588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224588
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224588#FFFFFF#000000##FFFFFF
##2245881.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#034387
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #224588;
/* rgb */ color: rgb(34, 69, 136);
/* oklch */ color: oklch(40.3% 0.119 261.8);
Tailwind
colors: {
  custom: {
    50: '#6c78ab',
    500: '#224588',
    950: '#000000',
  },
}
SCSS
$custom: #224588;
$custom-light: #6c78ab;
$custom-dark: #000000;
JSON
{
  "hex": "#224588",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 136
  },
  "hsl": {
    "h": 219.412,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40347,
    "c": 0.11931,
    "h": 261.8
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#224588
secondary
#B7934F
accent
#AD45E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #224588

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

Preview Lab → · Contrast checker → · Palette generator →

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