#224F8F#224F8F

#224F8F is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.117 H 257.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#224F8F
RGBrgb(34, 79, 143)
HSLhsl(215, 62%, 35%)
HSVhsv(215, 76%, 56%)
CMYKcmyk(76.2%, 44.8%, 0%, 43.9%)
CIE-LABlab(33.80, 8.15, -39.88)
CIE-LCHlch(33.80, 40.71, 281.55°)
OKLaboklab(43.17% -0.0248 -0.1142)
OKLCHoklch(43.17% 0.117 257.7)
XYZxyz(8.4118, 7.9143, 27.0656)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F8F #8F6222
analogous
#22868F #224F8F #2B228F
triadic
#224F8F #8F224F #4F8F22
tetradic
#224F8F #8F2286 #8F6222 #228F2B
square
#224F8F #8F2286 #8F6222 #228F2B
split-complementary
#224F8F #8F2B22 #868F22
monochromatic
#0A182C #16345E #224F8F #2E6AC0 #558AD7

Accessibility & contrast

On white

8.13
#224F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#224F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224F8F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F8F#FFFFFF#000000##FFFFFF
##224F8F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5591
Deuteranopia (green-blind)
#1A4B8E
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #224f8f;
/* rgb */ color: rgb(34, 79, 143);
/* oklch */ color: oklch(43.2% 0.117 257.7);
Tailwind
colors: {
  custom: {
    50: '#6d7fb0',
    500: '#224f8f',
    950: '#000000',
  },
}
SCSS
$custom: #224f8f;
$custom-light: #6d7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#224f8f",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 215.229,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43168,
    "c": 0.11684,
    "h": 257.7
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#224F8F
secondary
#BA8F52
accent
#A243E5
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #224F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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