#5E7BB2#5E7BB2

#5E7BB2 is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.4% C 0.091 H 262.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5E7BB2
RGBrgb(94, 123, 178)
HSLhsl(219, 35%, 53%)
HSVhsv(219, 47%, 70%)
CMYKcmyk(47.2%, 30.9%, 0%, 30.2%)
CIE-LABlab(51.56, 4.84, -32.36)
CIE-LCHlch(51.56, 32.72, 278.51°)
OKLaboklab(58.39% -0.0118 -0.0907)
OKLCHoklch(58.39% 0.092 262.6)
XYZxyz(19.7323, 19.7587, 44.8849)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7BB2 #B2955E
analogous
#5EA5B2 #5E7BB2 #6B5EB2
triadic
#5E7BB2 #B25E7B #7BB25E
tetradic
#5E7BB2 #B25EA5 #B2955E #5EB26B
square
#5E7BB2 #B25EA5 #B2955E #5EB26B
split-complementary
#5E7BB2 #B26B5E #A5B25E
monochromatic
#304365 #445E8F #5E7BB2 #879DC6 #B1BFDA

Accessibility & contrast

On white

4.24
#5E7BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5E7BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7BB2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7BB2#FFFFFF#000000##000000
##5E7BB21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#677FB4
Deuteranopia (green-blind)
#5D77B1
Tritanopia (blue-blind)
#3C878F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5e7bb2;
/* rgb */ color: rgb(94, 123, 178);
/* oklch */ color: oklch(58.4% 0.091 262.6);
Tailwind
colors: {
  custom: {
    50: '#90a1c9',
    500: '#5e7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7bb2;
$custom-light: #90a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7bb2",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 219.286,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5839,
    "c": 0.0915,
    "h": 262.6
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#5E7BB2
secondary
#C8BBA4
accent
#A55CCB
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5E7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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