#5F6FF4#5F6FF4

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

Color values

HEX#5F6FF4
RGBrgb(95, 111, 244)
HSLhsl(234, 87%, 66%)
HSVhsv(234, 61%, 96%)
CMYKcmyk(61.1%, 54.5%, 0%, 4.3%)
CIE-LABlab(52.21, 33.57, -68.75)
CIE-LCHlch(52.21, 76.51, 296.02°)
OKLaboklab(60.11% 0.0128 -0.1974)
OKLCHoklch(60.11% 0.198 273.7)
XYZxyz(26.7275, 20.3312, 88.0863)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6FF4 #F4E45F
analogous
#5FBAF4 #5F6FF4 #9A5FF4
triadic
#5F6FF4 #F45F6F #6FF45F
tetradic
#5F6FF4 #F45FBA #F4E45F #5FF49A
square
#5F6FF4 #F45FBA #F4E45F #5FF49A
split-complementary
#5F6FF4 #F49A5F #BAF45F
monochromatic
#0E22CB #263BF0 #5F6FF4 #98A3F8 #D2D6FC

Accessibility & contrast

On white

4.14
#5F6FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5F6FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6FF4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6FF4#FFFFFF#000000##000000
##5F6FF41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#0076F1
Tritanopia (blue-blind)
#008EA7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f6ff4;
/* rgb */ color: rgb(95, 111, 244);
/* oklch */ color: oklch(60.1% 0.198 273.7);
Tailwind
colors: {
  custom: {
    50: '#9a98f9',
    500: '#5f6ff4',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ff4;
$custom-light: #9a98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ff4",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 244
  },
  "hsl": {
    "h": 233.557,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60109,
    "c": 0.19782,
    "h": 273.7
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#5F6FF4
secondary
#F0EABF
accent
#CB02E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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