#5E7DB2#5E7DB2

#5E7DB2 is a mid, moderate blue. Relative luminance 0.203; OKLCH L 58.8% C 0.089 H 260.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5E7DB2
RGBrgb(94, 125, 178)
HSLhsl(218, 35%, 53%)
HSVhsv(218, 47%, 70%)
CMYKcmyk(47.2%, 29.8%, 0%, 30.2%)
CIE-LABlab(52.13, 3.65, -31.48)
CIE-LCHlch(52.13, 31.69, 276.61°)
OKLaboklab(58.83% -0.0143 -0.0882)
OKLCHoklch(58.83% 0.089 260.8)
XYZxyz(19.9829, 20.2600, 44.9684)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7DB2 #B2935E
analogous
#5EA7B2 #5E7DB2 #695EB2
triadic
#5E7DB2 #B25E7D #7DB25E
tetradic
#5E7DB2 #B25EA7 #B2935E #5EB269
square
#5E7DB2 #B25EA7 #B2935E #5EB269
split-complementary
#5E7DB2 #B2695E #A7B25E
monochromatic
#304465 #44608F #5E7DB2 #879EC6 #B1C0DA

Accessibility & contrast

On white

4.16
#5E7DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5E7DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7DB2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7DB2#FFFFFF#000000##000000
##5E7DB21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6981B4
Deuteranopia (green-blind)
#6079B1
Tritanopia (blue-blind)
#3C8890
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e7db2;
/* rgb */ color: rgb(94, 125, 178);
/* oklch */ color: oklch(58.8% 0.089 260.8);
Tailwind
colors: {
  custom: {
    50: '#90a2c9',
    500: '#5e7db2',
    950: '#000000',
  },
}
SCSS
$custom: #5e7db2;
$custom-light: #90a2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7db2",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 217.857,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58831,
    "c": 0.08933,
    "h": 260.8
  },
  "luminance": 0.20261
}

Semantic roles & 50–950 ramp

primary
#5E7DB2
secondary
#C8BBA4
accent
#A25CCB
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0F13
muted
#7E7E82

Preview Lab

Preview with #5E7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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