#224A8F#224A8F

#224A8F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.123 H 260.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#224A8F
RGBrgb(34, 74, 143)
HSLhsl(218, 62%, 35%)
HSVhsv(218, 76%, 56%)
CMYKcmyk(76.2%, 48.3%, 0%, 43.9%)
CIE-LABlab(32.30, 11.51, -42.29)
CIE-LCHlch(32.30, 43.83, 285.23°)
OKLaboklab(42.01% -0.0203 -0.1213)
OKLCHoklch(42.01% 0.123 260.5)
XYZxyz(8.0646, 7.2199, 26.9498)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224A8F #8F6722
analogous
#22808F #224A8F #31228F
triadic
#224A8F #8F224A #4A8F22
tetradic
#224A8F #8F2280 #8F6722 #228F31
square
#224A8F #8F2280 #8F6722 #228F31
split-complementary
#224A8F #8F3122 #808F22
monochromatic
#0A172C #16305E #224A8F #2E64C0 #5584D7

Accessibility & contrast

On white

8.59
#224A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#224A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224A8F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224A8F#FFFFFF#000000##FFFFFF
##224A8F1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255192
Deuteranopia (green-blind)
#07478E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #224a8f;
/* rgb */ color: rgb(34, 74, 143);
/* oklch */ color: oklch(42.0% 0.123 260.5);
Tailwind
colors: {
  custom: {
    50: '#6d7cb0',
    500: '#224a8f',
    950: '#000000',
  },
}
SCSS
$custom: #224a8f;
$custom-light: #6d7cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#224a8f",
  "rgb": {
    "r": 34,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 217.982,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4201,
    "c": 0.12304,
    "h": 260.5
  },
  "luminance": 0.07221
}

Semantic roles & 50–950 ramp

primary
#224A8F
secondary
#BA9452
accent
#A943E5
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #224A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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