#224EAF#224EAF

#224EAF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.163 H 263.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#224EAF
RGBrgb(34, 78, 175)
HSLhsl(221, 67%, 41%)
HSVhsv(221, 81%, 69%)
CMYKcmyk(80.6%, 55.4%, 0%, 31.4%)
CIE-LABlab(35.76, 21.45, -55.98)
CIE-LCHlch(35.76, 59.95, 290.96°)
OKLaboklab(45.38% -0.0195 -0.1615)
OKLCHoklch(45.38% 0.163 263.1)
XYZxyz(11.1192, 8.8827, 41.6776)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224EAF #AF8322
analogous
#2294AF #224EAF #3D22AF
triadic
#224EAF #AF224E #4EAF22
tetradic
#224EAF #AF2294 #AF8322 #22AF3D
square
#224EAF #AF2294 #AF8322 #22AF3D
split-complementary
#224EAF #AF3D22 #94AF22
monochromatic
#0E2049 #18377C #224EAF #3669D8 #698FE2

Accessibility & contrast

On white

7.56
#224EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#224EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224EAF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224EAF#FFFFFF#000000##FFFFFF
##224EAF1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #224eaf;
/* rgb */ color: rgb(34, 78, 175);
/* oklch */ color: oklch(45.4% 0.163 263.1);
Tailwind
colors: {
  custom: {
    50: '#757fc8',
    500: '#224eaf',
    950: '#000000',
  },
}
SCSS
$custom: #224eaf;
$custom-light: #757fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#224eaf",
  "rgb": {
    "r": 34,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 221.277,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45377,
    "c": 0.16272,
    "h": 263.1
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#224EAF
secondary
#C8A965
accent
#B43DEA
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #224EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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