#224178#224178

#224178 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.101 H 260.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#224178
RGBrgb(34, 65, 120)
HSLhsl(218, 56%, 30%)
HSVhsv(218, 72%, 47%)
CMYKcmyk(71.7%, 45.8%, 0%, 52.9%)
CIE-LABlab(28.05, 8.54, -34.84)
CIE-LCHlch(28.05, 35.87, 283.77°)
OKLaboklab(38.25% -0.0159 -0.0996)
OKLCHoklch(38.25% 0.101 260.9)
XYZxyz(5.9389, 5.4761, 18.5097)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224178 #785922
analogous
#226C78 #224178 #2E2278
triadic
#224178 #782241 #417822
tetradic
#224178 #78226C #785922 #22782E
square
#224178 #78226C #785922 #22782E
split-complementary
#224178 #782E22 #6C7822
monochromatic
#070D19 #142748 #224178 #305BA8 #4978CB

Accessibility & contrast

On white

10.02
#224178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#224178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224178
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224178#FFFFFF#000000##FFFFFF
##2241781.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26467A
Deuteranopia (green-blind)
#173E77
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #224178;
/* rgb */ color: rgb(34, 65, 120);
/* oklch */ color: oklch(38.2% 0.101 260.9);
Tailwind
colors: {
  custom: {
    50: '#68759f',
    500: '#224178',
    950: '#000000',
  },
}
SCSS
$custom: #224178;
$custom-light: #68759f;
$custom-dark: #000000;
JSON
{
  "hex": "#224178",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 218.372,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38245,
    "c": 0.10087,
    "h": 260.9
  },
  "luminance": 0.05477
}

Semantic roles & 50–950 ramp

primary
#224178
secondary
#AB884B
accent
#A949DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #224178

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

Preview Lab → · Contrast checker → · Palette generator →

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