#224097#224097

#224097 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.147 H 265.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#224097
RGBrgb(34, 64, 151)
HSLhsl(225, 63%, 36%)
HSVhsv(225, 77%, 59%)
CMYKcmyk(77.5%, 57.6%, 0%, 40.8%)
CIE-LABlab(30.01, 21.50, -50.89)
CIE-LCHlch(30.01, 55.24, 292.91°)
OKLaboklab(40.46% -0.0112 -0.1468)
OKLCHoklch(40.46% 0.147 265.6)
XYZxyz(8.0770, 6.2403, 30.0510)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224097 #977922
analogous
#227B97 #224097 #3F2297
triadic
#224097 #972240 #409722
tetradic
#224097 #97227B #977922 #22973F
square
#224097 #97227B #977922 #22973F
split-complementary
#224097 #973F22 #7B9722
monochromatic
#0C1633 #172B65 #224097 #2D55C9 #5A7ADA

Accessibility & contrast

On white

9.34
#224097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#224097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224097
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224097#FFFFFF#000000##FFFFFF
##2240971.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #224097;
/* rgb */ color: rgb(34, 64, 151);
/* oklch */ color: oklch(40.5% 0.147 265.6);
Tailwind
colors: {
  custom: {
    50: '#7074b6',
    500: '#224097',
    950: '#000000',
  },
}
SCSS
$custom: #224097;
$custom-light: #7074b6;
$custom-dark: #000000;
JSON
{
  "hex": "#224097",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 224.615,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40455,
    "c": 0.14724,
    "h": 265.6
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#224097
secondary
#BEA457
accent
#BC42E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #224097

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

Preview Lab → · Contrast checker → · Palette generator →

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