#224CB4#224CB4

#224CB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.172 H 264.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#224CB4
RGBrgb(34, 76, 180)
HSLhsl(223, 68%, 42%)
HSVhsv(223, 81%, 71%)
CMYKcmyk(81.1%, 57.8%, 0%, 29.4%)
CIE-LABlab(35.60, 24.73, -59.19)
CIE-LCHlch(35.60, 64.15, 292.67°)
OKLaboklab(45.38% -0.0179 -0.171)
OKLCHoklch(45.38% 0.172 264)
XYZxyz(11.4794, 8.8029, 44.2653)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224CB4 #B48A22
analogous
#2295B4 #224CB4 #4122B4
triadic
#224CB4 #B4224C #4CB422
tetradic
#224CB4 #B42295 #B48A22 #22B441
square
#224CB4 #B42295 #B48A22 #22B441
split-complementary
#224CB4 #B44122 #95B422
monochromatic
#0F214D #183681 #224CB4 #3A68DA #6D8FE3

Accessibility & contrast

On white

7.61
#224CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#224CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224CB4
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224CB4#FFFFFF#000000##FFFFFF
##224CB41.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #224cb4;
/* rgb */ color: rgb(34, 76, 180);
/* oklch */ color: oklch(45.4% 0.172 264.0);
Tailwind
colors: {
  custom: {
    50: '#767dcb',
    500: '#224cb4',
    950: '#000000',
  },
}
SCSS
$custom: #224cb4;
$custom-light: #767dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#224cb4",
  "rgb": {
    "r": 34,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 222.74,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45382,
    "c": 0.17195,
    "h": 264
  },
  "luminance": 0.08804
}

Semantic roles & 50–950 ramp

primary
#224CB4
secondary
#CAAE68
accent
#B93DEB
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #224CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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