#224AB2#224AB2

#224AB2 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.172 H 264.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#224AB2
RGBrgb(34, 74, 178)
HSLhsl(223, 68%, 42%)
HSVhsv(223, 81%, 70%)
CMYKcmyk(80.9%, 58.4%, 0%, 30.2%)
CIE-LABlab(34.90, 25.29, -59.14)
CIE-LCHlch(34.90, 64.32, 293.15°)
OKLaboklab(44.81% -0.0167 -0.1709)
OKLCHoklch(44.81% 0.172 264.4)
XYZxyz(11.1415, 8.4507, 43.1548)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224AB2 #B28A22
analogous
#2292B2 #224AB2 #4222B2
triadic
#224AB2 #B2224A #4AB222
tetradic
#224AB2 #B22292 #B28A22 #22B242
square
#224AB2 #B22292 #B28A22 #22B242
split-complementary
#224AB2 #B24222 #92B222
monochromatic
#0E1F4B #18357F #224AB2 #3865D9 #6C8DE3

Accessibility & contrast

On white

7.81
#224AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#224AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224AB2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224AB2#FFFFFF#000000##FFFFFF
##224AB21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #224ab2;
/* rgb */ color: rgb(34, 74, 178);
/* oklch */ color: oklch(44.8% 0.172 264.4);
Tailwind
colors: {
  custom: {
    50: '#767cca',
    500: '#224ab2',
    950: '#000000',
  },
}
SCSS
$custom: #224ab2;
$custom-light: #767cca;
$custom-dark: #000000;
JSON
{
  "hex": "#224ab2",
  "rgb": {
    "r": 34,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 223.333,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44808,
    "c": 0.17172,
    "h": 264.4
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#224AB2
secondary
#C9AE67
accent
#BB3DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #224AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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