#5F7EE9#5F7EE9

#5F7EE9 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.2% C 0.165 H 269.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5F7EE9
RGBrgb(95, 126, 233)
HSLhsl(227, 76%, 64%)
HSVhsv(227, 59%, 91%)
CMYKcmyk(59.2%, 45.9%, 0%, 8.6%)
CIE-LABlab(55.31, 20.82, -57.62)
CIE-LCHlch(55.31, 61.27, 289.87°)
OKLaboklab(62.23% -0.0027 -0.1645)
OKLCHoklch(62.23% 0.165 269.1)
XYZxyz(26.8832, 23.2356, 80.1432)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7EE9 #E9CA5F
analogous
#5FC3E9 #5F7EE9 #855FE9
triadic
#5F7EE9 #E95F7E #7EE95F
tetradic
#5F7EE9 #E95FC3 #E9CA5F #5FE985
square
#5F7EE9 #E95FC3 #E9CA5F #5FE985
split-complementary
#5F7EE9 #E9855F #C3E95F
monochromatic
#193CB5 #2953E2 #5F7EE9 #95A9F0 #CBD5F8

Accessibility & contrast

On white

3.72
#5F7EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5F7EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7EE9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7EE9#FFFFFF#000000##000000
##5F7EE91.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8BED
Deuteranopia (green-blind)
#357FE7
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f7ee9;
/* rgb */ color: rgb(95, 126, 233);
/* oklch */ color: oklch(62.2% 0.165 269.1);
Tailwind
colors: {
  custom: {
    50: '#97a3f1',
    500: '#5f7ee9',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ee9;
$custom-light: #97a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ee9",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 233
  },
  "hsl": {
    "h": 226.522,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62233,
    "c": 0.16452,
    "h": 269.1
  },
  "luminance": 0.23238
}

Semantic roles & 50–950 ramp

primary
#5F7EE9
secondary
#EADFBA
accent
#AB0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5F7EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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