#224BB5#224BB5

#224BB5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.175 H 264.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#224BB5
RGBrgb(34, 75, 181)
HSLhsl(223, 68%, 42%)
HSVhsv(223, 81%, 71%)
CMYKcmyk(81.2%, 58.6%, 0%, 29%)
CIE-LABlab(35.41, 25.78, -60.09)
CIE-LCHlch(35.41, 65.39, 293.22°)
OKLaboklab(45.27% -0.0172 -0.1737)
OKLCHoklch(45.27% 0.175 264.4)
XYZxyz(11.5133, 8.7071, 44.7809)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224BB5 #B58C22
analogous
#2295B5 #224BB5 #4222B5
triadic
#224BB5 #B5224B #4BB522
tetradic
#224BB5 #B52295 #B58C22 #22B542
square
#224BB5 #B52295 #B58C22 #22B542
split-complementary
#224BB5 #B54222 #95B522
monochromatic
#0F204E #183681 #224BB5 #3A67DA #6E8FE4

Accessibility & contrast

On white

7.66
#224BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#224BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224BB5
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224BB5#FFFFFF#000000##FFFFFF
##224BB51.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #224bb5;
/* rgb */ color: rgb(34, 75, 181);
/* oklch */ color: oklch(45.3% 0.175 264.4);
Tailwind
colors: {
  custom: {
    50: '#767ccc',
    500: '#224bb5',
    950: '#000000',
  },
}
SCSS
$custom: #224bb5;
$custom-light: #767ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#224bb5",
  "rgb": {
    "r": 34,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 223.265,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45266,
    "c": 0.17452,
    "h": 264.4
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#224BB5
secondary
#CAAF69
accent
#BB3DEB
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #224BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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