#5F7EBD#5F7EBD

#5F7EBD is a mid, moderate blue. Relative luminance 0.210; OKLCH L 59.7% C 0.103 H 263.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5F7EBD
RGBrgb(95, 126, 189)
HSLhsl(220, 42%, 56%)
HSVhsv(220, 50%, 74%)
CMYKcmyk(49.7%, 33.3%, 0%, 25.9%)
CIE-LABlab(52.98, 6.68, -36.46)
CIE-LCHlch(52.98, 37.07, 280.38°)
OKLaboklab(59.68% -0.0115 -0.1026)
OKLCHoklch(59.68% 0.103 263.6)
XYZxyz(21.3624, 21.0273, 51.0672)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7EBD #BD9E5F
analogous
#5FADBD #5F7EBD #6F5FBD
triadic
#5F7EBD #BD5F7E #7EBD5F
tetradic
#5F7EBD #BD5FAD #BD9E5F #5FBD6F
square
#5F7EBD #BD5FAD #BD9E5F #5FBD6F
split-complementary
#5F7EBD #BD6F5F #ADBD5F
monochromatic
#2F4572 #41609E #5F7EBD #8AA1CF #B6C4E1

Accessibility & contrast

On white

4.03
#5F7EBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#5F7EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7EBD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7EBD#FFFFFF#000000##000000
##5F7EBD1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683C0
Deuteranopia (green-blind)
#5B7BBC
Tritanopia (blue-blind)
#368C95
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f7ebd;
/* rgb */ color: rgb(95, 126, 189);
/* oklch */ color: oklch(59.7% 0.103 263.6);
Tailwind
colors: {
  custom: {
    50: '#92a3d1',
    500: '#5f7ebd',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ebd;
$custom-light: #92a3d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ebd",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 189
  },
  "hsl": {
    "h": 220.213,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.10323,
    "h": 263.6
  },
  "luminance": 0.21029
}

Semantic roles & 50–950 ramp

primary
#5F7EBD
secondary
#CFC3A8
accent
#A956D1
background
#F9FAFC
surface
#F2F3F9
border
#CCCDD2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F7EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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