#5E7BBB#5E7BBB

#5E7BBB is a mid, moderate blue. Relative luminance 0.201; OKLCH L 58.9% C 0.104 H 264.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5E7BBB
RGBrgb(94, 123, 187)
HSLhsl(221, 41%, 55%)
HSVhsv(221, 50%, 73%)
CMYKcmyk(49.7%, 34.2%, 0%, 26.7%)
CIE-LABlab(51.99, 7.61, -36.88)
CIE-LCHlch(51.99, 37.66, 281.67°)
OKLaboklab(58.86% -0.0094 -0.1038)
OKLCHoklch(58.86% 0.104 264.8)
XYZxyz(20.6657, 20.1321, 49.8010)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BBB #BB9E5E
analogous
#5EAABB #5E7BBB #6F5EBB
triadic
#5E7BBB #BB5E7B #7BBB5E
tetradic
#5E7BBB #BB5EAA #BB9E5E #5EBB6F
square
#5E7BBB #BB5EAA #BB9E5E #5EBB6F
split-complementary
#5E7BBB #BB6F5E #AABB5E
monochromatic
#2F4370 #415D9B #5E7BBB #899ECD #B4C2DF

Accessibility & contrast

On white

4.18
#5E7BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5E7BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BBB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BBB#FFFFFF#000000##000000
##5E7BBB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#368992
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e7bbb;
/* rgb */ color: rgb(94, 123, 187);
/* oklch */ color: oklch(58.9% 0.104 264.8);
Tailwind
colors: {
  custom: {
    50: '#91a0d0',
    500: '#5e7bbb',
    950: '#000000',
  },
}
SCSS
$custom: #5e7bbb;
$custom-light: #91a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7bbb",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 221.29,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58857,
    "c": 0.10426,
    "h": 264.8
  },
  "luminance": 0.20133
}

Semantic roles & 50–950 ramp

primary
#5E7BBB
secondary
#CEC2A7
accent
#AB57D0
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5E7BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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