#224F9D#224F9D

#224F9D is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.137 H 260.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#224F9D
RGBrgb(34, 79, 157)
HSLhsl(218, 64%, 37%)
HSVhsv(218, 78%, 62%)
CMYKcmyk(78.3%, 49.7%, 0%, 38.4%)
CIE-LABlab(34.73, 13.69, -46.88)
CIE-LCHlch(34.73, 48.84, 286.28°)
OKLaboklab(44.18% -0.0224 -0.1347)
OKLCHoklch(44.18% 0.137 260.6)
XYZxyz(9.5393, 8.3653, 33.0037)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F9D #9D7022
analogous
#228C9D #224F9D #33229D
triadic
#224F9D #9D224F #4F9D22
tetradic
#224F9D #9D228C #9D7022 #229D33
square
#224F9D #9D228C #9D7022 #229D33
split-complementary
#224F9D #9D3322 #8C9D22
monochromatic
#0C1C38 #17366B #224F9D #2D68CF #5D8CDC

Accessibility & contrast

On white

7.86
#224F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#224F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224F9D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F9D#FFFFFF#000000##FFFFFF
##224F9D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2258A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #224f9d;
/* rgb */ color: rgb(34, 79, 157);
/* oklch */ color: oklch(44.2% 0.137 260.6);
Tailwind
colors: {
  custom: {
    50: '#707fba',
    500: '#224f9d',
    950: '#000000',
  },
}
SCSS
$custom: #224f9d;
$custom-light: #707fba;
$custom-dark: #000000;
JSON
{
  "hex": "#224f9d",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 218.049,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44181,
    "c": 0.13659,
    "h": 260.6
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#224F9D
secondary
#C19B5A
accent
#AA40E7
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #224F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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