#5F9AEE#5F9AEE

#5F9AEE is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.3% C 0.139 H 257.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5F9AEE
RGBrgb(95, 154, 238)
HSLhsl(215, 81%, 65%)
HSVhsv(215, 60%, 93%)
CMYKcmyk(60.1%, 35.3%, 0%, 6.7%)
CIE-LABlab(63.11, 5.78, -48.00)
CIE-LCHlch(63.11, 48.34, 276.86°)
OKLaboklab(68.33% -0.0305 -0.136)
OKLCHoklch(68.33% 0.139 257.4)
XYZxyz(31.7021, 31.7143, 85.3232)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9AEE #EEB35F
analogous
#5FE1EE #5F9AEE #6C5FEE
triadic
#5F9AEE #EE5F9A #9AEE5F
tetradic
#5F9AEE #EE5FE1 #EEB35F #5FEE6C
square
#5F9AEE #EE5FE1 #EEB35F #5FEE6C
split-complementary
#5F9AEE #EE6C5F #E1EE5F
monochromatic
#145ABE #2877E8 #5F9AEE #96BDF4 #CEE0FA

Accessibility & contrast

On white

2.86
#5F9AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#5F9AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9AEE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9AEE#FFFFFF#000000##000000
##5F9AEE1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F1
Deuteranopia (green-blind)
#6393EC
Tritanopia (blue-blind)
#00ADB9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5f9aee;
/* rgb */ color: rgb(95, 154, 238);
/* oklch */ color: oklch(68.3% 0.139 257.4);
Tailwind
colors: {
  custom: {
    50: '#98b7f4',
    500: '#5f9aee',
    950: '#000000',
  },
}
SCSS
$custom: #5f9aee;
$custom-light: #98b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9aee",
  "rgb": {
    "r": 95,
    "g": 154,
    "b": 238
  },
  "hsl": {
    "h": 215.245,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68333,
    "c": 0.13936,
    "h": 257.4
  },
  "luminance": 0.31717
}

Semantic roles & 50–950 ramp

primary
#5F9AEE
secondary
#ECD9BC
accent
#8508DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F9AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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