#5F6EF4#5F6EF4

#5F6EF4 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.9% C 0.199 H 273.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5F6EF4
RGBrgb(95, 110, 244)
HSLhsl(234, 87%, 66%)
HSVhsv(234, 61%, 96%)
CMYKcmyk(61.1%, 54.9%, 0%, 4.3%)
CIE-LABlab(51.97, 34.17, -69.15)
CIE-LCHlch(51.97, 77.13, 296.30°)
OKLaboklab(59.93% 0.0137 -0.1986)
OKLCHoklch(59.93% 0.199 273.9)
XYZxyz(26.6190, 20.1142, 88.0501)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6EF4 #F4E55F
analogous
#5FB9F4 #5F6EF4 #9B5FF4
triadic
#5F6EF4 #F45F6E #6EF45F
tetradic
#5F6EF4 #F45FB9 #F4E55F #5FF49B
square
#5F6EF4 #F45FB9 #F4E55F #5FF49B
split-complementary
#5F6EF4 #F49B5F #B9F45F
monochromatic
#0E21CB #263AF0 #5F6EF4 #98A2F8 #D2D6FC

Accessibility & contrast

On white

4.18
#5F6EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5F6EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6EF4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6EF4#FFFFFF#000000##000000
##5F6EF41.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f6ef4;
/* rgb */ color: rgb(95, 110, 244);
/* oklch */ color: oklch(59.9% 0.199 273.9);
Tailwind
colors: {
  custom: {
    50: '#9a97f9',
    500: '#5f6ef4',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ef4;
$custom-light: #9a97f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ef4",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 244
  },
  "hsl": {
    "h": 233.96,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.19905,
    "h": 273.9
  },
  "luminance": 0.20116
}

Semantic roles & 50–950 ramp

primary
#5F6EF4
secondary
#F0EBBF
accent
#CD02E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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