#5F6DF2#5F6DF2

#5F6DF2 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.6% C 0.198 H 274.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5F6DF2
RGBrgb(95, 109, 242)
HSLhsl(234, 85%, 66%)
HSVhsv(234, 61%, 95%)
CMYKcmyk(60.7%, 55%, 0%, 5.1%)
CIE-LABlab(51.59, 34.12, -68.65)
CIE-LCHlch(51.59, 76.66, 296.43°)
OKLaboklab(59.6% 0.0145 -0.1971)
OKLCHoklch(59.6% 0.198 274.2)
XYZxyz(26.2097, 19.7789, 86.4237)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DF2 #F2E45F
analogous
#5FB6F2 #5F6DF2 #9A5FF2
triadic
#5F6DF2 #F25F6D #6DF25F
tetradic
#5F6DF2 #F25FB6 #F2E45F #5FF29A
square
#5F6DF2 #F25FB6 #F2E45F #5FF29A
split-complementary
#5F6DF2 #F29A5F #B6F25F
monochromatic
#1021C6 #2639ED #5F6DF2 #98A1F7 #D0D4FB

Accessibility & contrast

On white

4.24
#5F6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5F6DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6DF2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DF2#FFFFFF#000000##000000
##5F6DF21.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f6df2;
/* rgb */ color: rgb(95, 109, 242);
/* oklch */ color: oklch(59.6% 0.198 274.2);
Tailwind
colors: {
  custom: {
    50: '#9a96f7',
    500: '#5f6df2',
    950: '#000000',
  },
}
SCSS
$custom: #5f6df2;
$custom-light: #9a96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6df2",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 234.286,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.596,
    "c": 0.19765,
    "h": 274.2
  },
  "luminance": 0.19781
}

Semantic roles & 50–950 ramp

primary
#5F6DF2
secondary
#EFEABE
accent
#CC04E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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