#224C87#224C87

#224C87 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.9% C 0.109 H 257.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#224C87
RGBrgb(34, 76, 135)
HSLhsl(215, 60%, 33%)
HSVhsv(215, 75%, 53%)
CMYKcmyk(74.8%, 43.7%, 0%, 47.1%)
CIE-LABlab(32.39, 7.00, -37.25)
CIE-LCHlch(32.39, 37.90, 280.64°)
OKLaboklab(41.91% -0.0237 -0.1065)
OKLCHoklch(41.91% 0.109 257.4)
XYZxyz(7.6157, 7.2574, 23.9164)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224C87 #875D22
analogous
#227E87 #224C87 #2B2287
triadic
#224C87 #87224C #4C8722
tetradic
#224C87 #87227E #875D22 #22872B
square
#224C87 #87227E #875D22 #22872B
split-complementary
#224C87 #872B22 #7E8722
monochromatic
#091525 #163056 #224C87 #2E68B8 #5087D3

Accessibility & contrast

On white

8.57
#224C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#224C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224C87
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224C87#FFFFFF#000000##FFFFFF
##224C871.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5189
Deuteranopia (green-blind)
#1E4886
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #224c87;
/* rgb */ color: rgb(34, 76, 135);
/* oklch */ color: oklch(41.9% 0.109 257.4);
Tailwind
colors: {
  custom: {
    50: '#6b7daa',
    500: '#224c87',
    950: '#000000',
  },
}
SCSS
$custom: #224c87;
$custom-light: #6b7daa;
$custom-dark: #000000;
JSON
{
  "hex": "#224c87",
  "rgb": {
    "r": 34,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 215.05,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41907,
    "c": 0.10909,
    "h": 257.4
  },
  "luminance": 0.07258
}

Semantic roles & 50–950 ramp

primary
#224C87
secondary
#B78B4E
accent
#A145E3
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #224C87

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

Preview Lab → · Contrast checker → · Palette generator →

#224C87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva