#5A7EBF#5A7EBF

#5A7EBF is a mid, moderate blue. Relative luminance 0.209; OKLCH L 59.5% C 0.108 H 261.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5A7EBF
RGBrgb(90, 126, 191)
HSLhsl(219, 44%, 55%)
HSVhsv(219, 53%, 75%)
CMYKcmyk(52.9%, 34%, 0%, 25.1%)
CIE-LABlab(52.79, 6.13, -37.92)
CIE-LCHlch(52.79, 38.41, 279.19°)
OKLaboklab(59.49% -0.0158 -0.1069)
OKLCHoklch(59.49% 0.108 261.6)
XYZxyz(21.0781, 20.8554, 52.1949)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A7EBF #BF9B5A
analogous
#5AB0BF #5A7EBF #685ABF
triadic
#5A7EBF #BF5A7E #7EBF5A
tetradic
#5A7EBF #BF5AB0 #BF9B5A #5ABF68
square
#5A7EBF #BF5AB0 #BF9B5A #5ABF68
split-complementary
#5A7EBF #BF685A #B0BF5A
monochromatic
#2C4572 #3D609E #5A7EBF #86A0D0 #B2C3E1

Accessibility & contrast

On white

4.06
#5A7EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5A7EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A7EBF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A7EBF#FFFFFF#000000##000000
##5A7EBF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6483C2
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#268C96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5a7ebf;
/* rgb */ color: rgb(90, 126, 191);
/* oklch */ color: oklch(59.5% 0.108 261.6);
Tailwind
colors: {
  custom: {
    50: '#8fa3d2',
    500: '#5a7ebf',
    950: '#000000',
  },
}
SCSS
$custom: #5a7ebf;
$custom-light: #8fa3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a7ebf",
  "rgb": {
    "r": 90,
    "g": 126,
    "b": 191
  },
  "hsl": {
    "h": 218.614,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59485,
    "c": 0.10808,
    "h": 261.6
  },
  "luminance": 0.20857
}

Semantic roles & 50–950 ramp

primary
#5A7EBF
secondary
#D0C0A5
accent
#A654D4
background
#F9FAFC
surface
#F1F3F9
border
#CBCDD2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5A7EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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