#224894#224894

#224894 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.133 H 262.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#224894
RGBrgb(34, 72, 148)
HSLhsl(220, 63%, 36%)
HSVhsv(220, 77%, 58%)
CMYKcmyk(77%, 51.4%, 0%, 42%)
CIE-LABlab(32.06, 14.85, -45.74)
CIE-LCHlch(32.06, 48.09, 287.99°)
OKLaboklab(41.94% -0.0178 -0.1315)
OKLCHoklch(41.94% 0.133 262.3)
XYZxyz(8.3204, 7.1120, 28.9455)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224894 #946E22
analogous
#228194 #224894 #352294
triadic
#224894 #942248 #489422
tetradic
#224894 #942281 #946E22 #229435
square
#224894 #942281 #946E22 #229435
split-complementary
#224894 #943522 #819422
monochromatic
#0B1830 #173062 #224894 #2D60C6 #5883D9

Accessibility & contrast

On white

8.67
#224894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#224894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224894
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224894#FFFFFF#000000##FFFFFF
##2248941.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195197
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #224894;
/* rgb */ color: rgb(34, 72, 148);
/* oklch */ color: oklch(41.9% 0.133 262.3);
Tailwind
colors: {
  custom: {
    50: '#6e7ab4',
    500: '#224894',
    950: '#000000',
  },
}
SCSS
$custom: #224894;
$custom-light: #6e7ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#224894",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 220,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41936,
    "c": 0.13272,
    "h": 262.3
  },
  "luminance": 0.07113
}

Semantic roles & 50–950 ramp

primary
#224894
secondary
#BD9A55
accent
#AF42E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #224894

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

Preview Lab → · Contrast checker → · Palette generator →

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