#224A8A#224A8A

#224A8A is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.6% C 0.116 H 259.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#224A8A
RGBrgb(34, 74, 138)
HSLhsl(217, 60%, 34%)
HSVhsv(217, 75%, 54%)
CMYKcmyk(75.4%, 46.4%, 0%, 45.9%)
CIE-LABlab(31.97, 9.53, -39.76)
CIE-LCHlch(31.97, 40.89, 283.48°)
OKLaboklab(41.65% -0.0212 -0.1139)
OKLCHoklch(41.65% 0.116 259.5)
XYZxyz(7.6942, 7.0718, 24.9993)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224A8A #8A6222
analogous
#227E8A #224A8A #2E228A
triadic
#224A8A #8A224A #4A8A22
tetradic
#224A8A #8A227E #8A6222 #228A2E
square
#224A8A #8A227E #8A6222 #228A2E
split-complementary
#224A8A #8A2E22 #7E8A22
monochromatic
#0A1528 #163059 #224A8A #2E64BB #5284D4

Accessibility & contrast

On white

8.70
#224A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#224A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224A8A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224A8A#FFFFFF#000000##FFFFFF
##224A8A1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#144789
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #224a8a;
/* rgb */ color: rgb(34, 74, 138);
/* oklch */ color: oklch(41.6% 0.116 259.5);
Tailwind
colors: {
  custom: {
    50: '#6c7cac',
    500: '#224a8a',
    950: '#000000',
  },
}
SCSS
$custom: #224a8a;
$custom-light: #6c7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#224a8a",
  "rgb": {
    "r": 34,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 216.923,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41647,
    "c": 0.11586,
    "h": 259.5
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#224A8A
secondary
#B89050
accent
#A644E4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #224A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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