#5F6FE3#5F6FE3

#5F6FE3 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.9% C 0.175 H 273.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5F6FE3
RGBrgb(95, 111, 227)
HSLhsl(233, 70%, 63%)
HSVhsv(233, 58%, 89%)
CMYKcmyk(58.1%, 51.1%, 0%, 11%)
CIE-LABlab(51.09, 28.01, -61.05)
CIE-LCHlch(51.09, 67.16, 294.64°)
OKLaboklab(58.91% 0.0118 -0.1747)
OKLCHoklch(58.91% 0.175 273.9)
XYZxyz(24.2643, 19.3460, 75.1137)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6FE3 #E3D35F
analogous
#5FB1E3 #5F6FE3 #915FE3
triadic
#5F6FE3 #E35F6F #6FE35F
tetradic
#5F6FE3 #E35FB1 #E3D35F #5FE391
square
#5F6FE3 #E35FB1 #E3D35F #5FE391
split-complementary
#5F6FE3 #E3915F #B1E35F
monochromatic
#1E2FAA #2B40DA #5F6FE3 #939EEC #C7CDF5

Accessibility & contrast

On white

4.31
#5F6FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5F6FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6FE3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6FE3#FFFFFF#000000##000000
##5F6FE31.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E80E7
Deuteranopia (green-blind)
#0C74E1
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6fe3;
/* rgb */ color: rgb(95, 111, 227);
/* oklch */ color: oklch(58.9% 0.175 273.9);
Tailwind
colors: {
  custom: {
    50: '#9798ec',
    500: '#5f6fe3',
    950: '#000000',
  },
}
SCSS
$custom: #5f6fe3;
$custom-light: #9798ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6fe3",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 227
  },
  "hsl": {
    "h": 232.727,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.17513,
    "h": 273.9
  },
  "luminance": 0.19348
}

Semantic roles & 50–950 ramp

primary
#5F6FE3
secondary
#E7E1B7
accent
#BB13D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #5F6FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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