#5F8FE3#5F8FE3

#5F8FE3 is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.4% C 0.136 H 260.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5F8FE3
RGBrgb(95, 143, 227)
HSLhsl(218, 70%, 63%)
HSVhsv(218, 58%, 89%)
CMYKcmyk(58.1%, 37%, 0%, 11%)
CIE-LABlab(59.55, 8.65, -47.54)
CIE-LCHlch(59.55, 48.32, 280.31°)
OKLaboklab(65.39% -0.0215 -0.1348)
OKLCHoklch(65.39% 0.136 260.9)
XYZxyz(28.4021, 27.6215, 76.4929)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8FE3 #E3B35F
analogous
#5FD1E3 #5F8FE3 #715FE3
triadic
#5F8FE3 #E35F8F #8FE35F
tetradic
#5F8FE3 #E35FD1 #E3B35F #5FE371
square
#5F8FE3 #E35FD1 #E3B35F #5FE371
split-complementary
#5F8FE3 #E3715F #D1E35F
monochromatic
#1E51AA #2B6BDA #5F8FE3 #93B3EC #C7D8F5

Accessibility & contrast

On white

3.22
#5F8FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#5F8FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8FE3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8FE3#FFFFFF#000000##000000
##5F8FE31.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#5A8AE1
Tritanopia (blue-blind)
#00A2AE
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8fe3;
/* rgb */ color: rgb(95, 143, 227);
/* oklch */ color: oklch(65.4% 0.136 260.9);
Tailwind
colors: {
  custom: {
    50: '#96afec',
    500: '#5f8fe3',
    950: '#000000',
  },
}
SCSS
$custom: #5f8fe3;
$custom-light: #96afec;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8fe3",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 227
  },
  "hsl": {
    "h": 218.182,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65385,
    "c": 0.13647,
    "h": 260.9
  },
  "luminance": 0.27624
}

Semantic roles & 50–950 ramp

primary
#5F8FE3
secondary
#E7D5B7
accent
#8D13D2
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F8FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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