#224EB3#224EB3

#224EB3 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.168 H 263.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#224EB3
RGBrgb(34, 78, 179)
HSLhsl(222, 68%, 42%)
HSVhsv(222, 81%, 70%)
CMYKcmyk(81%, 56.4%, 0%, 29.8%)
CIE-LABlab(36.07, 23.01, -57.85)
CIE-LCHlch(36.07, 62.25, 291.69°)
OKLaboklab(45.71% -0.0192 -0.167)
OKLCHoklch(45.71% 0.168 263.4)
XYZxyz(11.5179, 9.0422, 43.7774)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224EB3 #B38722
analogous
#2297B3 #224EB3 #3F22B3
triadic
#224EB3 #B3224E #4EB322
tetradic
#224EB3 #B32297 #B38722 #22B33F
square
#224EB3 #B32297 #B38722 #22B33F
split-complementary
#224EB3 #B33F22 #97B322
monochromatic
#0E214C #183880 #224EB3 #396AD9 #6C90E3

Accessibility & contrast

On white

7.48
#224EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224EB3
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224EB3#FFFFFF#000000##FFFFFF
##224EB31.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #224eb3;
/* rgb */ color: rgb(34, 78, 179);
/* oklch */ color: oklch(45.7% 0.168 263.4);
Tailwind
colors: {
  custom: {
    50: '#767fcb',
    500: '#224eb3',
    950: '#000000',
  },
}
SCSS
$custom: #224eb3;
$custom-light: #767fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#224eb3",
  "rgb": {
    "r": 34,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 221.793,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45706,
    "c": 0.16813,
    "h": 263.4
  },
  "luminance": 0.09044
}

Semantic roles & 50–950 ramp

primary
#224EB3
secondary
#C9AC68
accent
#B63DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #224EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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