#224199#224199

#224199 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.149 H 265.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#224199
RGBrgb(34, 65, 153)
HSLhsl(224, 64%, 37%)
HSVhsv(224, 78%, 60%)
CMYKcmyk(77.8%, 57.5%, 0%, 40%)
CIE-LABlab(30.45, 21.60, -51.40)
CIE-LCHlch(30.45, 55.75, 292.80°)
OKLaboklab(40.83% -0.0118 -0.1483)
OKLCHoklch(40.83% 0.149 265.5)
XYZxyz(8.2977, 6.4196, 30.9326)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224199 #997A22
analogous
#227D99 #224199 #3F2299
triadic
#224199 #992241 #419922
tetradic
#224199 #99227D #997A22 #22993F
square
#224199 #99227D #997A22 #22993F
split-complementary
#224199 #993F22 #7D9922
monochromatic
#0C1635 #172C67 #224199 #2D56CB #5B7CDB

Accessibility & contrast

On white

9.19
#224199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#224199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224199
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224199#FFFFFF#000000##FFFFFF
##2241991.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #224199;
/* rgb */ color: rgb(34, 65, 153);
/* oklch */ color: oklch(40.8% 0.149 265.5);
Tailwind
colors: {
  custom: {
    50: '#7075b8',
    500: '#224199',
    950: '#000000',
  },
}
SCSS
$custom: #224199;
$custom-light: #7075b8;
$custom-dark: #000000;
JSON
{
  "hex": "#224199",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 224.37,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40833,
    "c": 0.14877,
    "h": 265.5
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#224199
secondary
#BFA458
accent
#BC41E7
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #224199

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

Preview Lab → · Contrast checker → · Palette generator →

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