#5F7BEF#5F7BEF

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

Color values

HEX#5F7BEF
RGBrgb(95, 123, 239)
HSLhsl(228, 82%, 65%)
HSVhsv(228, 60%, 94%)
CMYKcmyk(60.3%, 48.5%, 0%, 6.3%)
CIE-LABlab(54.90, 24.62, -61.64)
CIE-LCHlch(54.90, 66.37, 291.78°)
OKLaboklab(62.03% 0.0011 -0.1763)
OKLCHoklch(62.03% 0.176 270.3)
XYZxyz(27.3770, 22.8285, 84.6083)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7BEF #EFD35F
analogous
#5FC3EF #5F7BEF #8B5FEF
triadic
#5F7BEF #EF5F7B #7BEF5F
tetradic
#5F7BEF #EF5FC3 #EFD35F #5FEF8B
square
#5F7BEF #EF5FC3 #EFD35F #5FEF8B
split-complementary
#5F7BEF #EF8B5F #C3EF5F
monochromatic
#1335C0 #274DE9 #5F7BEF #97A9F5 #CED7FA

Accessibility & contrast

On white

3.77
#5F7BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5F7BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7BEF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7BEF#FFFFFF#000000##000000
##5F7BEF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF3
Deuteranopia (green-blind)
#227DED
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f7bef;
/* rgb */ color: rgb(95, 123, 239);
/* oklch */ color: oklch(62.0% 0.176 270.3);
Tailwind
colors: {
  custom: {
    50: '#98a0f5',
    500: '#5f7bef',
    950: '#000000',
  },
}
SCSS
$custom: #5f7bef;
$custom-light: #98a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7bef",
  "rgb": {
    "r": 95,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 228.333,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6203,
    "c": 0.17634,
    "h": 270.3
  },
  "luminance": 0.22831
}

Semantic roles & 50–950 ramp

primary
#5F7BEF
secondary
#EDE4BD
accent
#B407DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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