#224F9F#224F9F

#224F9F is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.139 H 260.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#224F9F
RGBrgb(34, 79, 159)
HSLhsl(218, 65%, 38%)
HSVhsv(218, 79%, 62%)
CMYKcmyk(78.6%, 50.3%, 0%, 37.6%)
CIE-LABlab(34.87, 14.48, -47.86)
CIE-LCHlch(34.87, 50.00, 286.83°)
OKLaboklab(44.33% -0.0221 -0.1376)
OKLCHoklch(44.33% 0.139 260.9)
XYZxyz(9.7114, 8.4341, 33.9103)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F9F #9F7222
analogous
#228D9F #224F9F #33229F
triadic
#224F9F #9F224F #4F9F22
tetradic
#224F9F #9F228D #9F7222 #229F33
square
#224F9F #9F228D #9F7222 #229F33
split-complementary
#224F9F #9F3322 #8D9F22
monochromatic
#0C1D3A #17366D #224F9F #2D68D1 #5F8CDD

Accessibility & contrast

On white

7.82
#224F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#224F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224F9F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F9F#FFFFFF#000000##FFFFFF
##224F9F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #224f9f;
/* rgb */ color: rgb(34, 79, 159);
/* oklch */ color: oklch(44.3% 0.139 260.9);
Tailwind
colors: {
  custom: {
    50: '#717fbc',
    500: '#224f9f',
    950: '#000000',
  },
}
SCSS
$custom: #224f9f;
$custom-light: #717fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#224f9f",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 159
  },
  "hsl": {
    "h": 218.4,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44332,
    "c": 0.13939,
    "h": 260.9
  },
  "luminance": 0.08435
}

Semantic roles & 50–950 ramp

primary
#224F9F
secondary
#C19D5B
accent
#AB40E8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #224F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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