#224FAF#224FAF

#224FAF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.161 H 262.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#224FAF
RGBrgb(34, 79, 175)
HSLhsl(221, 67%, 41%)
HSVhsv(221, 81%, 69%)
CMYKcmyk(80.6%, 54.9%, 0%, 31.4%)
CIE-LABlab(36.03, 20.78, -55.53)
CIE-LCHlch(36.03, 59.29, 290.51°)
OKLaboklab(45.59% -0.0202 -0.1602)
OKLCHoklch(45.59% 0.161 262.8)
XYZxyz(11.1908, 9.0259, 41.7015)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224FAF #AF8222
analogous
#2295AF #224FAF #3B22AF
triadic
#224FAF #AF224F #4FAF22
tetradic
#224FAF #AF2295 #AF8222 #22AF3B
square
#224FAF #AF2295 #AF8222 #22AF3B
split-complementary
#224FAF #AF3B22 #95AF22
monochromatic
#0E2149 #18387C #224FAF #366AD8 #6990E2

Accessibility & contrast

On white

7.49
#224FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#224FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224FAF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224FAF#FFFFFF#000000##FFFFFF
##224FAF1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #224faf;
/* rgb */ color: rgb(34, 79, 175);
/* oklch */ color: oklch(45.6% 0.161 262.8);
Tailwind
colors: {
  custom: {
    50: '#757fc8',
    500: '#224faf',
    950: '#000000',
  },
}
SCSS
$custom: #224faf;
$custom-light: #757fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#224faf",
  "rgb": {
    "r": 34,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 220.851,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45586,
    "c": 0.16147,
    "h": 262.8
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#224FAF
secondary
#C8A865
accent
#B33DEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #224FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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