#5F7BEE#5F7BEE

#5F7BEE is a mid, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.175 H 270.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5F7BEE
RGBrgb(95, 123, 238)
HSLhsl(228, 81%, 65%)
HSVhsv(228, 60%, 93%)
CMYKcmyk(60.1%, 48.3%, 0%, 6.7%)
CIE-LABlab(54.83, 24.29, -61.18)
CIE-LCHlch(54.83, 65.83, 291.66°)
OKLaboklab(61.96% 0.0009 -0.175)
OKLCHoklch(61.96% 0.175 270.3)
XYZxyz(27.2297, 22.7696, 83.8324)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7BEE #EED25F
analogous
#5FC2EE #5F7BEE #8B5FEE
triadic
#5F7BEE #EE5F7B #7BEE5F
tetradic
#5F7BEE #EE5FC2 #EED25F #5FEE8B
square
#5F7BEE #EE5FC2 #EED25F #5FEE8B
split-complementary
#5F7BEE #EE8B5F #C2EE5F
monochromatic
#1436BE #284DE8 #5F7BEE #96A9F4 #CED6FA

Accessibility & contrast

On white

3.78
#5F7BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#5F7BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7BEE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7BEE#FFFFFF#000000##000000
##5F7BEE1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#247DEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f7bee;
/* rgb */ color: rgb(95, 123, 238);
/* oklch */ color: oklch(62.0% 0.175 270.3);
Tailwind
colors: {
  custom: {
    50: '#98a0f4',
    500: '#5f7bee',
    950: '#000000',
  },
}
SCSS
$custom: #5f7bee;
$custom-light: #98a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7bee",
  "rgb": {
    "r": 95,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 228.252,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61964,
    "c": 0.17499,
    "h": 270.3
  },
  "luminance": 0.22772
}

Semantic roles & 50–950 ramp

primary
#5F7BEE
secondary
#ECE3BC
accent
#B308DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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