#224F98#224F98

#224F98 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.130 H 259.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#224F98
RGBrgb(34, 79, 152)
HSLhsl(217, 63%, 36%)
HSVhsv(217, 78%, 60%)
CMYKcmyk(77.6%, 48%, 0%, 40.4%)
CIE-LABlab(34.39, 11.71, -44.41)
CIE-LCHlch(34.39, 45.93, 284.77°)
OKLaboklab(43.81% -0.0232 -0.1275)
OKLCHoklch(43.81% 0.13 259.7)
XYZxyz(9.1211, 8.1980, 30.8013)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F98 #986B22
analogous
#228A98 #224F98 #302298
triadic
#224F98 #98224F #4F9822
tetradic
#224F98 #98228A #986B22 #229830
square
#224F98 #98228A #986B22 #229830
split-complementary
#224F98 #983022 #8A9822
monochromatic
#0C1B34 #173566 #224F98 #2D69CA #5A8BDA

Accessibility & contrast

On white

7.96
#224F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#224F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224F98
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F98#FFFFFF#000000##FFFFFF
##224F981.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579B
Deuteranopia (green-blind)
#054C97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #224f98;
/* rgb */ color: rgb(34, 79, 152);
/* oklch */ color: oklch(43.8% 0.130 259.7);
Tailwind
colors: {
  custom: {
    50: '#6f7fb7',
    500: '#224f98',
    950: '#000000',
  },
}
SCSS
$custom: #224f98;
$custom-light: #6f7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#224f98",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 217.119,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43811,
    "c": 0.12957,
    "h": 259.7
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#224F98
secondary
#BE9757
accent
#A741E6
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #224F98

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

Preview Lab → · Contrast checker → · Palette generator →

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