#224F8E#224F8E

#224F8E is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.115 H 257.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#224F8E
RGBrgb(34, 79, 142)
HSLhsl(215, 61%, 35%)
HSVhsv(215, 76%, 56%)
CMYKcmyk(76.1%, 44.4%, 0%, 44.3%)
CIE-LABlab(33.74, 7.75, -39.37)
CIE-LCHlch(33.74, 40.13, 281.14°)
OKLaboklab(43.1% -0.0251 -0.1127)
OKLCHoklch(43.1% 0.115 257.5)
XYZxyz(8.3364, 7.8841, 26.6684)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224F8E #8E6122
analogous
#22858E #224F8E #2B228E
triadic
#224F8E #8E224F #4F8E22
tetradic
#224F8E #8E2285 #8E6122 #228E2B
square
#224F8E #8E2285 #8E6122 #228E2B
split-complementary
#224F8E #8E2B22 #858E22
monochromatic
#0A182B #16345D #224F8E #2E6ABF #548AD6

Accessibility & contrast

On white

8.15
#224F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224F8E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224F8E#FFFFFF#000000##FFFFFF
##224F8E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305590
Deuteranopia (green-blind)
#1C4B8D
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #224f8e;
/* rgb */ color: rgb(34, 79, 142);
/* oklch */ color: oklch(43.1% 0.115 257.5);
Tailwind
colors: {
  custom: {
    50: '#6d7faf',
    500: '#224f8e',
    950: '#000000',
  },
}
SCSS
$custom: #224f8e;
$custom-light: #6d7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#224f8e",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 215,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.11543,
    "h": 257.5
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#224F8E
secondary
#BA8F52
accent
#A143E4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #224F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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