#224197#224197

#224197 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.146 H 265.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#224197
RGBrgb(34, 65, 151)
HSLhsl(224, 63%, 36%)
HSVhsv(224, 77%, 59%)
CMYKcmyk(77.5%, 57%, 0%, 40.8%)
CIE-LABlab(30.29, 20.82, -50.43)
CIE-LCHlch(30.29, 54.56, 292.43°)
OKLaboklab(40.66% -0.0119 -0.1455)
OKLCHoklch(40.66% 0.146 265.3)
XYZxyz(8.1339, 6.3541, 30.0699)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224197 #977822
analogous
#227C97 #224197 #3E2297
triadic
#224197 #972241 #419722
tetradic
#224197 #97227C #977822 #22973E
square
#224197 #97227C #977822 #22973E
split-complementary
#224197 #973E22 #7C9722
monochromatic
#0C1633 #172B65 #224197 #2D57C9 #5A7CDA

Accessibility & contrast

On white

9.25
#224197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#224197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224197
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224197#FFFFFF#000000##FFFFFF
##2241971.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #224197;
/* rgb */ color: rgb(34, 65, 151);
/* oklch */ color: oklch(40.7% 0.146 265.3);
Tailwind
colors: {
  custom: {
    50: '#7075b6',
    500: '#224197',
    950: '#000000',
  },
}
SCSS
$custom: #224197;
$custom-light: #7075b6;
$custom-dark: #000000;
JSON
{
  "hex": "#224197",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 224.103,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40664,
    "c": 0.14596,
    "h": 265.3
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#224197
secondary
#BEA357
accent
#BB42E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #224197

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

Preview Lab → · Contrast checker → · Palette generator →

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