#224C8B#224C8B

#224C8B is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.115 H 258.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#224C8B
RGBrgb(34, 76, 139)
HSLhsl(216, 61%, 34%)
HSVhsv(216, 76%, 55%)
CMYKcmyk(75.5%, 45.3%, 0%, 45.5%)
CIE-LABlab(32.64, 8.58, -39.30)
CIE-LCHlch(32.64, 40.23, 282.31°)
OKLaboklab(42.19% -0.0229 -0.1125)
OKLCHoklch(42.19% 0.115 258.5)
XYZxyz(7.9026, 7.3722, 25.4276)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224C8B #8B6122
analogous
#22818B #224C8B #2D228B
triadic
#224C8B #8B224C #4C8B22
tetradic
#224C8B #8B2281 #8B6122 #228B2D
square
#224C8B #8B2281 #8B6122 #228B2D
split-complementary
#224C8B #8B2D22 #818B22
monochromatic
#0A1629 #16315A #224C8B #2E67BC #5387D5

Accessibility & contrast

On white

8.49
#224C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224C8B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224C8B#FFFFFF#000000##FFFFFF
##224C8B1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#18488A
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #224c8b;
/* rgb */ color: rgb(34, 76, 139);
/* oklch */ color: oklch(42.2% 0.115 258.5);
Tailwind
colors: {
  custom: {
    50: '#6c7dad',
    500: '#224c8b',
    950: '#000000',
  },
}
SCSS
$custom: #224c8b;
$custom-light: #6c7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#224c8b",
  "rgb": {
    "r": 34,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 216,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42185,
    "c": 0.11482,
    "h": 258.5
  },
  "luminance": 0.07373
}

Semantic roles & 50–950 ramp

primary
#224C8B
secondary
#B88F50
accent
#A444E4
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #224C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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