#224D8A#224D8A

#224D8A is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.112 H 257.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#224D8A
RGBrgb(34, 77, 138)
HSLhsl(215, 60%, 34%)
HSVhsv(215, 75%, 54%)
CMYKcmyk(75.4%, 44.2%, 0%, 45.9%)
CIE-LABlab(32.88, 7.51, -38.30)
CIE-LCHlch(32.88, 39.03, 281.09°)
OKLaboklab(42.35% -0.024 -0.1096)
OKLCHoklch(42.35% 0.112 257.6)
XYZxyz(7.8993, 7.4819, 25.0677)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224D8A #8A5F22
analogous
#22818A #224D8A #2B228A
triadic
#224D8A #8A224D #4D8A22
tetradic
#224D8A #8A2281 #8A5F22 #228A2B
square
#224D8A #8A2281 #8A5F22 #228A2B
split-complementary
#224D8A #8A2B22 #818A22
monochromatic
#0A1628 #163259 #224D8A #2E68BB #5288D4

Accessibility & contrast

On white

8.41
#224D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#224D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224D8A
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224D8A#FFFFFF#000000##FFFFFF
##224D8A1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528C
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #224d8a;
/* rgb */ color: rgb(34, 77, 138);
/* oklch */ color: oklch(42.4% 0.112 257.6);
Tailwind
colors: {
  custom: {
    50: '#6c7eac',
    500: '#224d8a',
    950: '#000000',
  },
}
SCSS
$custom: #224d8a;
$custom-light: #6c7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#224d8a",
  "rgb": {
    "r": 34,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 215.192,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4235,
    "c": 0.11216,
    "h": 257.6
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

primary
#224D8A
secondary
#B88D50
accent
#A244E4
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #224D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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