#224C8A#224C8A

#224C8A is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.113 H 258.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#224C8A
RGBrgb(34, 76, 138)
HSLhsl(216, 60%, 34%)
HSVhsv(216, 75%, 54%)
CMYKcmyk(75.4%, 44.9%, 0%, 45.9%)
CIE-LABlab(32.58, 8.18, -38.79)
CIE-LCHlch(32.58, 39.64, 281.91°)
OKLaboklab(42.12% -0.0231 -0.111)
OKLCHoklch(42.12% 0.113 258.3)
XYZxyz(7.8299, 7.3431, 25.0445)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224C8A #8A6022
analogous
#22808A #224C8A #2C228A
triadic
#224C8A #8A224C #4C8A22
tetradic
#224C8A #8A2280 #8A6022 #228A2C
square
#224C8A #8A2280 #8A6022 #228A2C
split-complementary
#224C8A #8A2C22 #808A22
monochromatic
#0A1628 #163159 #224C8A #2E67BB #5287D4

Accessibility & contrast

On white

8.51
#224C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#224C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224C8A
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224C8A#FFFFFF#000000##FFFFFF
##224C8A1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #224c8a;
/* rgb */ color: rgb(34, 76, 138);
/* oklch */ color: oklch(42.1% 0.113 258.3);
Tailwind
colors: {
  custom: {
    50: '#6c7dac',
    500: '#224c8a',
    950: '#000000',
  },
}
SCSS
$custom: #224c8a;
$custom-light: #6c7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#224c8a",
  "rgb": {
    "r": 34,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 215.769,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42115,
    "c": 0.11338,
    "h": 258.3
  },
  "luminance": 0.07344
}

Semantic roles & 50–950 ramp

primary
#224C8A
secondary
#B88E50
accent
#A344E4
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #224C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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