#224987#224987

#224987 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.2% C 0.113 H 259.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#224987
RGBrgb(34, 73, 135)
HSLhsl(217, 60%, 33%)
HSVhsv(217, 75%, 53%)
CMYKcmyk(74.8%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.47, 9.02, -38.71)
CIE-LCHlch(31.47, 39.75, 283.11°)
OKLaboklab(41.2% -0.0208 -0.1108)
OKLCHoklch(41.2% 0.113 259.4)
XYZxyz(7.4138, 6.8536, 23.8491)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224987 #876022
analogous
#227B87 #224987 #2E2287
triadic
#224987 #872249 #498722
tetradic
#224987 #87227B #876022 #22872E
square
#224987 #87227B #876022 #22872E
split-complementary
#224987 #872E22 #7B8722
monochromatic
#091425 #162F56 #224987 #2E63B8 #5083D3

Accessibility & contrast

On white

8.86
#224987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#224987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224987
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224987#FFFFFF#000000##FFFFFF
##2249871.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F89
Deuteranopia (green-blind)
#164686
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #224987;
/* rgb */ color: rgb(34, 73, 135);
/* oklch */ color: oklch(41.2% 0.113 259.4);
Tailwind
colors: {
  custom: {
    50: '#6b7baa',
    500: '#224987',
    950: '#000000',
  },
}
SCSS
$custom: #224987;
$custom-light: #6b7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#224987",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 216.832,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.11278,
    "h": 259.4
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#224987
secondary
#B78E4E
accent
#A645E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #224987

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

Preview Lab → · Contrast checker → · Palette generator →

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