#224587#224587

#224587 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.118 H 261.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#224587
RGBrgb(34, 69, 135)
HSLhsl(219, 60%, 33%)
HSVhsv(219, 75%, 53%)
CMYKcmyk(74.8%, 48.9%, 0%, 47.1%)
CIE-LABlab(30.27, 11.74, -40.65)
CIE-LCHlch(30.27, 42.31, 286.11°)
OKLaboklab(40.27% -0.0171 -0.1166)
OKLCHoklch(40.27% 0.118 261.7)
XYZxyz(7.1594, 6.3448, 23.7643)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224587 #876422
analogous
#227787 #224587 #312287
triadic
#224587 #872245 #458722
tetradic
#224587 #872277 #876422 #228731
square
#224587 #872277 #876422 #228731
split-complementary
#224587 #873122 #778722
monochromatic
#091325 #162C56 #224587 #2E5EB8 #507ED3

Accessibility & contrast

On white

9.25
#224587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224587
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224587#FFFFFF#000000##FFFFFF
##2245871.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#064386
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #224587;
/* rgb */ color: rgb(34, 69, 135);
/* oklch */ color: oklch(40.3% 0.118 261.7);
Tailwind
colors: {
  custom: {
    50: '#6b78aa',
    500: '#224587',
    950: '#000000',
  },
}
SCSS
$custom: #224587;
$custom-light: #6b78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#224587",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 219.208,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40272,
    "c": 0.11785,
    "h": 261.7
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#224587
secondary
#B7924E
accent
#AC45E3
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #224587

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

Preview Lab → · Contrast checker → · Palette generator →

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