#5F6EF0#5F6EF0

#5F6EF0 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.6% C 0.194 H 274.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5F6EF0
RGBrgb(95, 110, 240)
HSLhsl(234, 83%, 66%)
HSVhsv(234, 60%, 94%)
CMYKcmyk(60.4%, 54.2%, 0%, 5.9%)
CIE-LABlab(51.69, 32.86, -67.36)
CIE-LCHlch(51.69, 74.95, 296.01°)
OKLaboklab(59.64% 0.0135 -0.1933)
OKLCHoklch(59.64% 0.194 274)
XYZxyz(26.0182, 19.8739, 84.8861)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6EF0 #F0E15F
analogous
#5FB6F0 #5F6EF0 #985FF0
triadic
#5F6EF0 #F05F6E #6EF05F
tetradic
#5F6EF0 #F05FB6 #F0E15F #5FF098
square
#5F6EF0 #F05FB6 #F0E15F #5FF098
split-complementary
#5F6EF0 #F0985F #B6F05F
monochromatic
#1224C2 #273BEB #5F6EF0 #97A1F5 #CFD3FA

Accessibility & contrast

On white

4.22
#5F6EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5F6EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6EF0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6EF0#FFFFFF#000000##000000
##5F6EF01.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A82F4
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f6ef0;
/* rgb */ color: rgb(95, 110, 240);
/* oklch */ color: oklch(59.6% 0.194 274.0);
Tailwind
colors: {
  custom: {
    50: '#9997f6',
    500: '#5f6ef0',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ef0;
$custom-light: #9997f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ef0",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 240
  },
  "hsl": {
    "h": 233.793,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59637,
    "c": 0.19378,
    "h": 274
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#5F6EF0
secondary
#EEE9BD
accent
#C906DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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