#5F7EF3#5F7EF3

#5F7EF3 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.9% C 0.178 H 269.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5F7EF3
RGBrgb(95, 126, 243)
HSLhsl(227, 86%, 66%)
HSVhsv(227, 61%, 95%)
CMYKcmyk(60.9%, 48.1%, 0%, 4.7%)
CIE-LABlab(55.91, 24.12, -62.23)
CIE-LCHlch(55.91, 66.74, 291.19°)
OKLaboklab(62.88% -0.0014 -0.178)
OKLCHoklch(62.88% 0.178 269.5)
XYZxyz(28.3524, 23.8233, 87.8809)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7EF3 #F3D45F
analogous
#5FC8F3 #5F7EF3 #8A5FF3
triadic
#5F7EF3 #F35F7E #7EF35F
tetradic
#5F7EF3 #F35FC8 #F3D45F #5FF38A
square
#5F7EF3 #F35FC8 #F3D45F #5FF38A
split-complementary
#5F7EF3 #F38A5F #C8F35F
monochromatic
#0F36C9 #2650EF #5F7EF3 #98ACF7 #D1DAFC

Accessibility & contrast

On white

3.64
#5F7EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5F7EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7EF3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7EF3#FFFFFF#000000##000000
##5F7EF31.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#418DF7
Deuteranopia (green-blind)
#2480F1
Tritanopia (blue-blind)
#0099AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f7ef3;
/* rgb */ color: rgb(95, 126, 243);
/* oklch */ color: oklch(62.9% 0.178 269.5);
Tailwind
colors: {
  custom: {
    50: '#99a3f8',
    500: '#5f7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ef3;
$custom-light: #99a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ef3",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 227.432,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62879,
    "c": 0.17805,
    "h": 269.5
  },
  "luminance": 0.23826
}

Semantic roles & 50–950 ramp

primary
#5F7EF3
secondary
#EFE5BF
accent
#B403E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5F7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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