#5F7BF0#5F7BF0

#5F7BF0 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.1% C 0.178 H 270.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5F7BF0
RGBrgb(95, 123, 240)
HSLhsl(228, 83%, 66%)
HSVhsv(228, 60%, 94%)
CMYKcmyk(60.4%, 48.7%, 0%, 5.9%)
CIE-LABlab(54.96, 24.95, -62.10)
CIE-LCHlch(54.96, 66.92, 291.89°)
OKLaboklab(62.1% 0.0012 -0.1777)
OKLCHoklch(62.1% 0.178 270.4)
XYZxyz(27.5252, 22.8878, 85.3885)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7BF0 #F0D45F
analogous
#5FC3F0 #5F7BF0 #8B5FF0
triadic
#5F7BF0 #F05F7B #7BF05F
tetradic
#5F7BF0 #F05FC3 #F0D45F #5FF08B
square
#5F7BF0 #F05FC3 #F0D45F #5FF08B
split-complementary
#5F7BF0 #F08B5F #C3F05F
monochromatic
#1234C2 #274DEB #5F7BF0 #97A9F5 #CFD7FA

Accessibility & contrast

On white

3.76
#5F7BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5F7BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7BF0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7BF0#FFFFFF#000000##000000
##5F7BF01.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8AF4
Deuteranopia (green-blind)
#1F7DEE
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f7bf0;
/* rgb */ color: rgb(95, 123, 240);
/* oklch */ color: oklch(62.1% 0.178 270.4);
Tailwind
colors: {
  custom: {
    50: '#99a0f6',
    500: '#5f7bf0',
    950: '#000000',
  },
}
SCSS
$custom: #5f7bf0;
$custom-light: #99a0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7bf0",
  "rgb": {
    "r": 95,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 228.414,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62096,
    "c": 0.17768,
    "h": 270.4
  },
  "luminance": 0.2289
}

Semantic roles & 50–950 ramp

primary
#5F7BF0
secondary
#EEE4BD
accent
#B506DF
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F7BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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