#5F7FBB#5F7FBB

#5F7FBB is a mid, moderate blue. Relative luminance 0.212; OKLCH L 59.8% C 0.099 H 262.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5F7FBB
RGBrgb(95, 127, 187)
HSLhsl(219, 40%, 55%)
HSVhsv(219, 49%, 73%)
CMYKcmyk(49.2%, 32.1%, 0%, 26.7%)
CIE-LABlab(53.17, 5.46, -35.02)
CIE-LCHlch(53.17, 35.45, 278.86°)
OKLaboklab(59.79% -0.0133 -0.0984)
OKLCHoklch(59.79% 0.099 262.3)
XYZxyz(21.2754, 21.1981, 49.9746)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7FBB #BB9B5F
analogous
#5FADBB #5F7FBB #6D5FBB
triadic
#5F7FBB #BB5F7F #7FBB5F
tetradic
#5F7FBB #BB5FAD #BB9B5F #5FBB6D
square
#5F7FBB #BB5FAD #BB9B5F #5FBB6D
split-complementary
#5F7FBB #BB6D5F #ADBB5F
monochromatic
#304670 #42619B #5F7FBB #8AA1CD #B5C4E0

Accessibility & contrast

On white

4.01
#5F7FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5F7FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7FBB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7FBB#FFFFFF#000000##000000
##5F7FBB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BE
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#378C94
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5f7fbb;
/* rgb */ color: rgb(95, 127, 187);
/* oklch */ color: oklch(59.8% 0.099 262.3);
Tailwind
colors: {
  custom: {
    50: '#91a3cf',
    500: '#5f7fbb',
    950: '#000000',
  },
}
SCSS
$custom: #5f7fbb;
$custom-light: #91a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7fbb",
  "rgb": {
    "r": 95,
    "g": 127,
    "b": 187
  },
  "hsl": {
    "h": 219.13,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5979,
    "c": 0.09931,
    "h": 262.3
  },
  "luminance": 0.21199
}

Semantic roles & 50–950 ramp

primary
#5F7FBB
secondary
#CEC1A8
accent
#A658D0
background
#F9FAFC
surface
#F1F3F9
border
#CBCDD2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F7FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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