#5F6BEA#5F6BEA

#5F6BEA is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.7% C 0.190 H 274.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5F6BEA
RGBrgb(95, 107, 234)
HSLhsl(235, 77%, 65%)
HSVhsv(235, 59%, 92%)
CMYKcmyk(59.4%, 54.3%, 0%, 8.2%)
CIE-LABlab(50.55, 32.73, -65.84)
CIE-LCHlch(50.55, 73.53, 296.43°)
OKLaboklab(58.66% 0.0161 -0.1889)
OKLCHoklch(58.66% 0.19 274.9)
XYZxyz(24.8234, 18.8869, 80.1634)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6BEA #EADE5F
analogous
#5FB1EA #5F6BEA #995FEA
triadic
#5F6BEA #EA5F6B #6BEA5F
tetradic
#5F6BEA #EA5FB1 #EADE5F #5FEA99
square
#5F6BEA #EA5FB1 #EADE5F #5FEA99
split-complementary
#5F6BEA #EA995F #B1EA5F
monochromatic
#1826B7 #2939E3 #5F6BEA #959DF1 #CBCFF8

Accessibility & contrast

On white

4.40
#5F6BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5F6BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6BEA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6BEA#FFFFFF#000000##000000
##5F6BEA1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7EEE
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f6bea;
/* rgb */ color: rgb(95, 107, 234);
/* oklch */ color: oklch(58.7% 0.190 274.9);
Tailwind
colors: {
  custom: {
    50: '#9895f1',
    500: '#5f6bea',
    950: '#000000',
  },
}
SCSS
$custom: #5f6bea;
$custom-light: #9895f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6bea",
  "rgb": {
    "r": 95,
    "g": 107,
    "b": 234
  },
  "hsl": {
    "h": 234.82,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.18957,
    "h": 274.9
  },
  "luminance": 0.18889
}

Semantic roles & 50–950 ramp

primary
#5F6BEA
secondary
#EAE6BA
accent
#C70CD9
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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