#5F7AF3#5F7AF3

#5F7AF3 is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.1% C 0.183 H 270.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5F7AF3
RGBrgb(95, 122, 243)
HSLhsl(229, 86%, 66%)
HSVhsv(229, 61%, 95%)
CMYKcmyk(60.9%, 49.8%, 0%, 4.7%)
CIE-LABlab(54.89, 26.55, -63.87)
CIE-LCHlch(54.89, 69.17, 292.57°)
OKLaboklab(62.1% 0.0024 -0.1829)
OKLCHoklch(62.1% 0.183 270.8)
XYZxyz(27.8511, 22.8207, 87.7138)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7AF3 #F3D85F
analogous
#5FC4F3 #5F7AF3 #8E5FF3
triadic
#5F7AF3 #F35F7A #7AF35F
tetradic
#5F7AF3 #F35FC4 #F3D85F #5FF38E
square
#5F7AF3 #F35FC4 #F3D85F #5FF38E
split-complementary
#5F7AF3 #F38E5F #C4F35F
monochromatic
#0F31C9 #264BEF #5F7AF3 #98A9F7 #D1D9FC

Accessibility & contrast

On white

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

On black

5.56
#5F7AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7AF3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7AF3#FFFFFF#000000##000000
##5F7AF31.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF7
Deuteranopia (green-blind)
#107DF0
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f7af3;
/* rgb */ color: rgb(95, 122, 243);
/* oklch */ color: oklch(62.1% 0.183 270.8);
Tailwind
colors: {
  custom: {
    50: '#99a0f8',
    500: '#5f7af3',
    950: '#000000',
  },
}
SCSS
$custom: #5f7af3;
$custom-light: #99a0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7af3",
  "rgb": {
    "r": 95,
    "g": 122,
    "b": 243
  },
  "hsl": {
    "h": 229.054,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62103,
    "c": 0.18295,
    "h": 270.8
  },
  "luminance": 0.22823
}

Semantic roles & 50–950 ramp

primary
#5F7AF3
secondary
#EFE6BF
accent
#BA03E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F7AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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