#5E6BB2#5E6BB2

#5E6BB2 is a mid, moderate blue. Relative luminance 0.161; OKLCH L 54.9% C 0.111 H 274.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5E6BB2
RGBrgb(94, 107, 178)
HSLhsl(231, 35%, 53%)
HSVhsv(231, 47%, 70%)
CMYKcmyk(47.2%, 39.9%, 0%, 30.2%)
CIE-LABlab(47.12, 14.58, -39.35)
CIE-LCHlch(47.12, 41.97, 290.34°)
OKLaboklab(54.95% 0.0084 -0.1111)
OKLCHoklch(54.95% 0.111 274.3)
XYZxyz(17.9072, 16.1084, 44.2765)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6BB2 #B2A55E
analogous
#5E95B2 #5E6BB2 #7B5EB2
triadic
#5E6BB2 #B25E6B #6BB25E
tetradic
#5E6BB2 #B25E95 #B2A55E #5EB27B
square
#5E6BB2 #B25E95 #B2A55E #5EB27B
split-complementary
#5E6BB2 #B27B5E #95B25E
monochromatic
#303965 #44508F #5E6BB2 #8791C6 #B1B7DA

Accessibility & contrast

On white

4.97
#5E6BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5E6BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6BB2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6BB2#FFFFFF#000000##FFFFFF
##5E6BB21.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#3F7A86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e6bb2;
/* rgb */ color: rgb(94, 107, 178);
/* oklch */ color: oklch(54.9% 0.111 274.3);
Tailwind
colors: {
  custom: {
    50: '#9095c9',
    500: '#5e6bb2',
    950: '#000000',
  },
}
SCSS
$custom: #5e6bb2;
$custom-light: #9095c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6bb2",
  "rgb": {
    "r": 94,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 230.714,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5495,
    "c": 0.11145,
    "h": 274.3
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#5E6BB2
secondary
#C8C2A4
accent
#BA5CCB
background
#F9F9FC
surface
#F1F1F8
border
#CBCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #5E6BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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