#224E98#224E98

#224E98 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.6% C 0.131 H 260.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#224E98
RGBrgb(34, 78, 152)
HSLhsl(218, 63%, 36%)
HSVhsv(218, 78%, 60%)
CMYKcmyk(77.6%, 48.7%, 0%, 40.4%)
CIE-LABlab(34.10, 12.38, -44.88)
CIE-LCHlch(34.10, 46.56, 285.42°)
OKLaboklab(43.58% -0.0223 -0.1289)
OKLCHoklch(43.58% 0.131 260.2)
XYZxyz(9.0495, 8.0548, 30.7775)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224E98 #986C22
analogous
#228998 #224E98 #312298
triadic
#224E98 #98224E #4E9822
tetradic
#224E98 #982289 #986C22 #229831
square
#224E98 #982289 #986C22 #229831
split-complementary
#224E98 #983122 #899822
monochromatic
#0C1B34 #173466 #224E98 #2D68CA #5A8ADA

Accessibility & contrast

On white

8.04
#224E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#224E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224E98
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224E98#FFFFFF#000000##FFFFFF
##224E981.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569B
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #224e98;
/* rgb */ color: rgb(34, 78, 152);
/* oklch */ color: oklch(43.6% 0.131 260.2);
Tailwind
colors: {
  custom: {
    50: '#6f7fb7',
    500: '#224e98',
    950: '#000000',
  },
}
SCSS
$custom: #224e98;
$custom-light: #6f7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#224e98",
  "rgb": {
    "r": 34,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 217.627,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43584,
    "c": 0.13082,
    "h": 260.2
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#224E98
secondary
#BE9857
accent
#A941E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #224E98

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

Preview Lab → · Contrast checker → · Palette generator →

#224E98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva