#5F6FF3#5F6FF3

#5F6FF3 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.0% C 0.197 H 273.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5F6FF3
RGBrgb(95, 111, 243)
HSLhsl(234, 86%, 66%)
HSVhsv(234, 61%, 95%)
CMYKcmyk(60.9%, 54.3%, 0%, 4.7%)
CIE-LABlab(52.14, 33.24, -68.31)
CIE-LCHlch(52.14, 75.97, 295.95°)
OKLaboklab(60.04% 0.0127 -0.1961)
OKLCHoklch(60.04% 0.197 273.7)
XYZxyz(26.5761, 20.2707, 87.2888)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6FF3 #F3E35F
analogous
#5FB9F3 #5F6FF3 #995FF3
triadic
#5F6FF3 #F35F6F #6FF35F
tetradic
#5F6FF3 #F35FB9 #F3E35F #5FF399
square
#5F6FF3 #F35FB9 #F3E35F #5FF399
split-complementary
#5F6FF3 #F3995F #B9F35F
monochromatic
#0F23C9 #263CEF #5F6FF3 #98A2F7 #D1D5FC

Accessibility & contrast

On white

4.15
#5F6FF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5F6FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6FF3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6FF3#FFFFFF#000000##000000
##5F6FF31.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0483F8
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#008EA6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f6ff3;
/* rgb */ color: rgb(95, 111, 243);
/* oklch */ color: oklch(60.0% 0.197 273.7);
Tailwind
colors: {
  custom: {
    50: '#9a98f8',
    500: '#5f6ff3',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ff3;
$custom-light: #9a98f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ff3",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 243
  },
  "hsl": {
    "h": 233.514,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60037,
    "c": 0.1965,
    "h": 273.7
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

primary
#5F6FF3
secondary
#EFEABF
accent
#CA03E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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