#5F98EA#5F98EA

#5F98EA is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.7% C 0.136 H 257.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#5F98EA
RGBrgb(95, 152, 234)
HSLhsl(215, 77%, 65%)
HSVhsv(215, 59%, 92%)
CMYKcmyk(59.4%, 35%, 0%, 8.2%)
CIE-LABlab(62.36, 5.64, -46.97)
CIE-LCHlch(62.36, 47.31, 276.85°)
OKLaboklab(67.69% -0.0294 -0.133)
OKLCHoklch(67.69% 0.136 257.5)
XYZxyz(30.7936, 30.8272, 82.1534)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F98EA #EAB15F
analogous
#5FDDEA #5F98EA #6C5FEA
triadic
#5F98EA #EA5F98 #98EA5F
tetradic
#5F98EA #EA5FDD #EAB15F #5FEA6C
square
#5F98EA #EA5FDD #EAB15F #5FEA6C
split-complementary
#5F98EA #EA6C5F #DDEA5F
monochromatic
#1859B7 #2975E3 #5F98EA #95BBF1 #CBDEF8

Accessibility & contrast

On white

2.93
#5F98EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#5F98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F98EA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F98EA#FFFFFF#000000##000000
##5F98EA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EED
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#00ABB6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5f98ea;
/* rgb */ color: rgb(95, 152, 234);
/* oklch */ color: oklch(67.7% 0.136 257.5);
Tailwind
colors: {
  custom: {
    50: '#97b5f1',
    500: '#5f98ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f98ea;
$custom-light: #97b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f98ea",
  "rgb": {
    "r": 95,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 215.396,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67689,
    "c": 0.1362,
    "h": 257.5
  },
  "luminance": 0.3083
}

Semantic roles & 50–950 ramp

primary
#5F98EA
secondary
#EAD7BA
accent
#850CD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5F98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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