#626FF5#626FF5

#626FF5 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.198 H 274.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#626FF5
RGBrgb(98, 111, 245)
HSLhsl(235, 88%, 67%)
HSVhsv(235, 60%, 96%)
CMYKcmyk(60%, 54.7%, 0%, 3.9%)
CIE-LABlab(52.46, 34.40, -68.90)
CIE-LCHlch(52.46, 77.01, 296.53°)
OKLaboklab(60.37% 0.016 -0.1978)
OKLCHoklch(60.37% 0.198 274.6)
XYZxyz(27.1975, 20.5560, 88.9030)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626FF5 #F5E862
analogous
#62B8F5 #626FF5 #9F62F5
triadic
#626FF5 #F5626F #6FF562
tetradic
#626FF5 #F562B8 #F5E862 #62F59F
square
#626FF5 #F562B8 #F5E862 #62F59F
split-complementary
#626FF5 #F59F62 #B8F562
monochromatic
#0D1ECF #283AF1 #626FF5 #9CA4F9 #D5D9FC

Accessibility & contrast

On white

4.11
#626FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#626FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626FF5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626FF5#FFFFFF#000000##000000
##626FF51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#008FA7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #626ff5;
/* rgb */ color: rgb(98, 111, 245);
/* oklch */ color: oklch(60.4% 0.198 274.6);
Tailwind
colors: {
  custom: {
    50: '#9b98f9',
    500: '#626ff5',
    950: '#000000',
  },
}
SCSS
$custom: #626ff5;
$custom-light: #9b98f9;
$custom-dark: #000000;
JSON
{
  "hex": "#626ff5",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 234.694,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60365,
    "c": 0.1984,
    "h": 274.6
  },
  "luminance": 0.20558
}

Semantic roles & 50–950 ramp

primary
#626FF5
secondary
#F1ECC2
accent
#D001E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626FF5

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

Preview Lab → · Contrast checker → · Palette generator →

#626FF5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva