#5F6EF2#5F6EF2

#5F6EF2 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.8% C 0.196 H 274.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5F6EF2
RGBrgb(95, 110, 242)
HSLhsl(234, 85%, 66%)
HSVhsv(234, 61%, 95%)
CMYKcmyk(60.7%, 54.5%, 0%, 5.1%)
CIE-LABlab(51.83, 33.52, -68.25)
CIE-LCHlch(51.83, 76.04, 296.15°)
OKLaboklab(59.78% 0.0136 -0.196)
OKLCHoklch(59.78% 0.196 274)
XYZxyz(26.3170, 19.9934, 86.4595)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6EF2 #F2E35F
analogous
#5FB7F2 #5F6EF2 #995FF2
triadic
#5F6EF2 #F25F6E #6EF25F
tetradic
#5F6EF2 #F25FB7 #F2E35F #5FF299
square
#5F6EF2 #F25FB7 #F2E35F #5FF299
split-complementary
#5F6EF2 #F2995F #B7F25F
monochromatic
#1023C6 #263BED #5F6EF2 #98A1F7 #D0D5FB

Accessibility & contrast

On white

4.20
#5F6EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5F6EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6EF2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6EF2#FFFFFF#000000##000000
##5F6EF21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f6ef2;
/* rgb */ color: rgb(95, 110, 242);
/* oklch */ color: oklch(59.8% 0.196 274.0);
Tailwind
colors: {
  custom: {
    50: '#9997f7',
    500: '#5f6ef2',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ef2;
$custom-light: #9997f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ef2",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 242
  },
  "hsl": {
    "h": 233.878,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.19642,
    "h": 274
  },
  "luminance": 0.19996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F6EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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