#224498#224498

#224498 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.144 H 264.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#224498
RGBrgb(34, 68, 152)
HSLhsl(223, 63%, 36%)
HSVhsv(223, 78%, 60%)
CMYKcmyk(77.6%, 55.3%, 0%, 40.4%)
CIE-LABlab(31.21, 19.16, -49.55)
CIE-LCHlch(31.21, 53.13, 291.14°)
OKLaboklab(41.38% -0.0141 -0.1428)
OKLCHoklch(41.38% 0.144 264.3)
XYZxyz(8.3923, 6.7404, 30.5584)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224498 #987622
analogous
#227F98 #224498 #3B2298
triadic
#224498 #982244 #449822
tetradic
#224498 #98227F #987622 #22983B
square
#224498 #98227F #987622 #22983B
split-complementary
#224498 #983B22 #7F9822
monochromatic
#0C1734 #172E66 #224498 #2D5ACA #5A7FDA

Accessibility & contrast

On white

8.94
#224498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#224498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224498
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224498#FFFFFF#000000##FFFFFF
##2244981.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #224498;
/* rgb */ color: rgb(34, 68, 152);
/* oklch */ color: oklch(41.4% 0.144 264.3);
Tailwind
colors: {
  custom: {
    50: '#7077b7',
    500: '#224498',
    950: '#000000',
  },
}
SCSS
$custom: #224498;
$custom-light: #7077b7;
$custom-dark: #000000;
JSON
{
  "hex": "#224498",
  "rgb": {
    "r": 34,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 222.712,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41382,
    "c": 0.14352,
    "h": 264.3
  },
  "luminance": 0.06741
}

Semantic roles & 50–950 ramp

primary
#224498
secondary
#BEA157
accent
#B741E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #224498

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

Preview Lab → · Contrast checker → · Palette generator →

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