#5F7EBC#5F7EBC

#5F7EBC is a mid, moderate blue. Relative luminance 0.210; OKLCH L 59.6% C 0.102 H 263.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5F7EBC
RGBrgb(95, 126, 188)
HSLhsl(220, 41%, 55%)
HSVhsv(220, 49%, 74%)
CMYKcmyk(49.5%, 33%, 0%, 26.3%)
CIE-LABlab(52.93, 6.37, -35.96)
CIE-LCHlch(52.93, 36.52, 280.04°)
OKLaboklab(59.62% -0.0118 -0.1011)
OKLCHoklch(59.62% 0.102 263.4)
XYZxyz(21.2543, 20.9840, 50.4975)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7EBC #BC9D5F
analogous
#5FACBC #5F7EBC #6E5FBC
triadic
#5F7EBC #BC5F7E #7EBC5F
tetradic
#5F7EBC #BC5FAC #BC9D5F #5FBC6E
square
#5F7EBC #BC5FAC #BC9D5F #5FBC6E
split-complementary
#5F7EBC #BC6E5F #ACBC5F
monochromatic
#2F4571 #41609C #5F7EBC #8AA1CE #B5C4E0

Accessibility & contrast

On white

4.04
#5F7EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5F7EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7EBC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7EBC#FFFFFF#000000##000000
##5F7EBC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BF
Deuteranopia (green-blind)
#5C7ABB
Tritanopia (blue-blind)
#378B94
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f7ebc;
/* rgb */ color: rgb(95, 126, 188);
/* oklch */ color: oklch(59.6% 0.102 263.4);
Tailwind
colors: {
  custom: {
    50: '#91a3d0',
    500: '#5f7ebc',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ebc;
$custom-light: #91a3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ebc",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 188
  },
  "hsl": {
    "h": 220,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59623,
    "c": 0.10182,
    "h": 263.4
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#5F7EBC
secondary
#CFC2A8
accent
#A857D1
background
#F9FAFC
surface
#F2F3F9
border
#CCCDD2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F7EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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