#224374#224374

#224374 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.4% C 0.092 H 258.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#224374
RGBrgb(34, 67, 116)
HSLhsl(216, 55%, 29%)
HSVhsv(216, 71%, 45%)
CMYKcmyk(70.7%, 42.2%, 0%, 54.5%)
CIE-LABlab(28.42, 5.59, -31.73)
CIE-LCHlch(28.42, 32.22, 279.99°)
OKLaboklab(38.45% -0.0189 -0.0904)
OKLCHoklch(38.45% 0.092 258.2)
XYZxyz(5.8181, 5.6148, 17.2967)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224374 #745322
analogous
#226C74 #224374 #2A2274
triadic
#224374 #742243 #437422
tetradic
#224374 #74226C #745322 #22742A
square
#224374 #74226C #745322 #22742A
split-complementary
#224374 #742A22 #6C7422
monochromatic
#070E18 #142845 #224374 #305EA3 #477CC9

Accessibility & contrast

On white

9.89
#224374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#224374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224374
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224374#FFFFFF#000000##FFFFFF
##2243741.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4776
Deuteranopia (green-blind)
#204073
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #224374;
/* rgb */ color: rgb(34, 67, 116);
/* oklch */ color: oklch(38.4% 0.092 258.2);
Tailwind
colors: {
  custom: {
    50: '#67769c',
    500: '#224374',
    950: '#000000',
  },
}
SCSS
$custom: #224374;
$custom-light: #67769c;
$custom-dark: #000000;
JSON
{
  "hex": "#224374",
  "rgb": {
    "r": 34,
    "g": 67,
    "b": 116
  },
  "hsl": {
    "h": 215.854,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38448,
    "c": 0.09239,
    "h": 258.2
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#224374
secondary
#A7824B
accent
#A24ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #224374

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

Preview Lab → · Contrast checker → · Palette generator →

#224374 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva