#5F7EDD#5F7EDD

#5F7EDD is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.148 H 268.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5F7EDD
RGBrgb(95, 126, 221)
HSLhsl(225, 65%, 62%)
HSVhsv(225, 57%, 87%)
CMYKcmyk(57%, 43%, 0%, 13.3%)
CIE-LABlab(54.63, 16.89, -52.00)
CIE-LCHlch(54.63, 54.67, 287.99°)
OKLaboklab(61.49% -0.0045 -0.148)
OKLCHoklch(61.49% 0.148 268.2)
XYZxyz(25.2269, 22.5731, 71.4203)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7EDD #DDBE5F
analogous
#5FBDDD #5F7EDD #7F5FDD
triadic
#5F7EDD #DD5F7E #7EDD5F
tetradic
#5F7EDD #DD5FBD #DDBE5F #5FDD7F
square
#5F7EDD #DD5FBD #DDBE5F #5FDD7F
split-complementary
#5F7EDD #DD7F5F #BDDD5F
monochromatic
#2241A0 #2D55D2 #5F7EDD #91A7E8 #C4CFF2

Accessibility & contrast

On white

3.81
#5F7EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5F7EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7EDD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7EDD#FFFFFF#000000##000000
##5F7EDD1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E1
Deuteranopia (green-blind)
#437DDB
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f7edd;
/* rgb */ color: rgb(95, 126, 221);
/* oklch */ color: oklch(61.5% 0.148 268.2);
Tailwind
colors: {
  custom: {
    50: '#96a3e8',
    500: '#5f7edd',
    950: '#000000',
  },
}
SCSS
$custom: #5f7edd;
$custom-light: #96a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7edd",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 225.238,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61488,
    "c": 0.14805,
    "h": 268.2
  },
  "luminance": 0.22575
}

Semantic roles & 50–950 ramp

primary
#5F7EDD
secondary
#E3D8B5
accent
#A019CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F16
muted
#7E7E84

Preview Lab

Preview with #5F7EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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