#224E8D#224E8D

#224E8D is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.115 H 257.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#224E8D
RGBrgb(34, 78, 141)
HSLhsl(215, 61%, 34%)
HSVhsv(215, 76%, 55%)
CMYKcmyk(75.9%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.37, 8.03, -39.35)
CIE-LCHlch(33.37, 40.16, 281.53°)
OKLaboklab(42.79% -0.0243 -0.1126)
OKLCHoklch(42.79% 0.115 257.8)
XYZxyz(8.1900, 7.7110, 26.2509)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224E8D #8D6122
analogous
#22848D #224E8D #2C228D
triadic
#224E8D #8D224E #4E8D22
tetradic
#224E8D #8D2284 #8D6122 #228D2C
square
#224E8D #8D2284 #8D6122 #228D2C
split-complementary
#224E8D #8D2C22 #848D22
monochromatic
#0A172A #16335C #224E8D #2E69BE #5489D6

Accessibility & contrast

On white

8.26
#224E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#224E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224E8D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224E8D#FFFFFF#000000##FFFFFF
##224E8D1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F548F
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #224e8d;
/* rgb */ color: rgb(34, 78, 141);
/* oklch */ color: oklch(42.8% 0.115 257.8);
Tailwind
colors: {
  custom: {
    50: '#6d7faf',
    500: '#224e8d',
    950: '#000000',
  },
}
SCSS
$custom: #224e8d;
$custom-light: #6d7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#224e8d",
  "rgb": {
    "r": 34,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 215.327,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.11522,
    "h": 257.8
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#224E8D
secondary
#B98F51
accent
#A244E4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #224E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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