#5F7BBD#5F7BBD

#5F7BBD is a mid, moderate blue. Relative luminance 0.203; OKLCH L 59.0% C 0.107 H 265.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5F7BBD
RGBrgb(95, 123, 189)
HSLhsl(222, 42%, 56%)
HSVhsv(222, 50%, 74%)
CMYKcmyk(49.7%, 34.9%, 0%, 25.9%)
CIE-LABlab(52.14, 8.48, -37.77)
CIE-LCHlch(52.14, 38.71, 282.65°)
OKLaboklab(59.03% -0.0078 -0.1064)
OKLCHoklch(59.03% 0.107 265.8)
XYZxyz(20.9846, 20.2716, 50.9413)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7BBD #BDA15F
analogous
#5FAABD #5F7BBD #725FBD
triadic
#5F7BBD #BD5F7B #7BBD5F
tetradic
#5F7BBD #BD5FAA #BDA15F #5FBD72
square
#5F7BBD #BD5FAA #BDA15F #5FBD72
split-complementary
#5F7BBD #BD725F #AABD5F
monochromatic
#2F4372 #415D9E #5F7BBD #8A9FCF #B6C2E1

Accessibility & contrast

On white

4.15
#5F7BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5F7BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7BBD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7BBD#FFFFFF#000000##000000
##5F7BBD1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6281C0
Deuteranopia (green-blind)
#5878BC
Tritanopia (blue-blind)
#368993
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f7bbd;
/* rgb */ color: rgb(95, 123, 189);
/* oklch */ color: oklch(59.0% 0.107 265.8);
Tailwind
colors: {
  custom: {
    50: '#92a0d1',
    500: '#5f7bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5f7bbd;
$custom-light: #92a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7bbd",
  "rgb": {
    "r": 95,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 222.128,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59026,
    "c": 0.10672,
    "h": 265.8
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

primary
#5F7BBD
secondary
#CFC4A8
accent
#AD56D1
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5F7BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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