#5F7ABE#5F7ABE

#5F7ABE is a mid, moderate blue. Relative luminance 0.201; OKLCH L 58.9% C 0.109 H 266.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5F7ABE
RGBrgb(95, 122, 190)
HSLhsl(223, 42%, 56%)
HSVhsv(223, 50%, 75%)
CMYKcmyk(50%, 35.8%, 0%, 25.5%)
CIE-LABlab(51.91, 9.39, -38.71)
CIE-LCHlch(51.91, 39.83, 283.64°)
OKLaboklab(58.87% -0.0064 -0.1091)
OKLCHoklch(58.87% 0.109 266.6)
XYZxyz(20.9701, 20.0683, 51.4738)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7ABE #BEA35F
analogous
#5FA9BE #5F7ABE #735FBE
triadic
#5F7ABE #BE5F7A #7ABE5F
tetradic
#5F7ABE #BE5FA9 #BEA35F #5FBE73
square
#5F7ABE #BE5FA9 #BEA35F #5FBE73
split-complementary
#5F7ABE #BE735F #A9BE5F
monochromatic
#2F4274 #415C9F #5F7ABE #8B9ED0 #B6C2E1

Accessibility & contrast

On white

4.19
#5F7ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5F7ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7ABE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7ABE#FFFFFF#000000##000000
##5F7ABE1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080C1
Deuteranopia (green-blind)
#5678BD
Tritanopia (blue-blind)
#368993
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f7abe;
/* rgb */ color: rgb(95, 122, 190);
/* oklch */ color: oklch(58.9% 0.109 266.6);
Tailwind
colors: {
  custom: {
    50: '#92a0d2',
    500: '#5f7abe',
    950: '#000000',
  },
}
SCSS
$custom: #5f7abe;
$custom-light: #92a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7abe",
  "rgb": {
    "r": 95,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 222.947,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58865,
    "c": 0.10934,
    "h": 266.6
  },
  "luminance": 0.2007
}

Semantic roles & 50–950 ramp

primary
#5F7ABE
secondary
#D0C5A9
accent
#AF56D2
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F7ABE

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

Preview Lab → · Contrast checker → · Palette generator →

#5F7ABE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva