#224D8E#224D8E

#224D8E is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.118 H 258.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#224D8E
RGBrgb(34, 77, 142)
HSLhsl(216, 61%, 35%)
HSVhsv(216, 76%, 56%)
CMYKcmyk(76.1%, 45.8%, 0%, 44.3%)
CIE-LABlab(33.14, 9.09, -40.34)
CIE-LCHlch(33.14, 41.36, 282.70°)
OKLaboklab(42.63% -0.0232 -0.1156)
OKLCHoklch(42.63% 0.118 258.6)
XYZxyz(8.1943, 7.5999, 26.6210)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224D8E #8E6322
analogous
#22838E #224D8E #2D228E
triadic
#224D8E #8E224D #4D8E22
tetradic
#224D8E #8E2283 #8E6322 #228E2D
square
#224D8E #8E2283 #8E6322 #228E2D
split-complementary
#224D8E #8E2D22 #838E22
monochromatic
#0A172B #16325D #224D8E #2E68BF #5488D6

Accessibility & contrast

On white

8.33
#224D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#224D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224D8E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224D8E#FFFFFF#000000##FFFFFF
##224D8E1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#16498D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #224d8e;
/* rgb */ color: rgb(34, 77, 142);
/* oklch */ color: oklch(42.6% 0.118 258.6);
Tailwind
colors: {
  custom: {
    50: '#6d7eaf',
    500: '#224d8e',
    950: '#000000',
  },
}
SCSS
$custom: #224d8e;
$custom-light: #6d7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#224d8e",
  "rgb": {
    "r": 34,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 216.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4263,
    "c": 0.11787,
    "h": 258.6
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#224D8E
secondary
#BA9052
accent
#A443E4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #224D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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