#224098#224098

#224098 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.149 H 265.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#224098
RGBrgb(34, 64, 152)
HSLhsl(225, 63%, 36%)
HSVhsv(225, 78%, 60%)
CMYKcmyk(77.6%, 57.9%, 0%, 40.4%)
CIE-LABlab(30.09, 21.89, -51.37)
CIE-LCHlch(30.09, 55.84, 293.08°)
OKLaboklab(40.54% -0.0111 -0.1482)
OKLCHoklch(40.54% 0.149 265.7)
XYZxyz(8.1586, 6.2730, 30.4805)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224098 #987A22
analogous
#227B98 #224098 #3F2298
triadic
#224098 #982240 #409822
tetradic
#224098 #98227B #987A22 #22983F
square
#224098 #98227B #987A22 #22983F
split-complementary
#224098 #983F22 #7B9822
monochromatic
#0C1634 #172B66 #224098 #2D55CA #5A7BDA

Accessibility & contrast

On white

9.31
#224098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224098
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224098#FFFFFF#000000##FFFFFF
##2240981.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #224098;
/* rgb */ color: rgb(34, 64, 152);
/* oklch */ color: oklch(40.5% 0.149 265.7);
Tailwind
colors: {
  custom: {
    50: '#7074b7',
    500: '#224098',
    950: '#000000',
  },
}
SCSS
$custom: #224098;
$custom-light: #7074b7;
$custom-dark: #000000;
JSON
{
  "hex": "#224098",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 152
  },
  "hsl": {
    "h": 224.746,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4054,
    "c": 0.14865,
    "h": 265.7
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #224098

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

Preview Lab → · Contrast checker → · Palette generator →

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