#626AFB#626AFB

#626AFB is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 59.9% C 0.212 H 275.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#626AFB
RGBrgb(98, 106, 251)
HSLhsl(237, 95%, 68%)
HSVhsv(237, 61%, 98%)
CMYKcmyk(61%, 57.8%, 0%, 1.6%)
CIE-LABlab(51.69, 39.34, -73.48)
CIE-LCHlch(51.69, 83.35, 298.16°)
OKLaboklab(59.92% 0.0205 -0.2113)
OKLCHoklch(59.92% 0.212 275.5)
XYZxyz(27.5979, 19.8676, 93.6286)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626AFB #FBF362
analogous
#62B6FB #626AFB #A662FB
triadic
#626AFB #FB626A #6AFB62
tetradic
#626AFB #FB62B6 #FBF362 #62FBA6
square
#626AFB #FB62B6 #FBF362 #62FBA6
split-complementary
#626AFB #FBA662 #B6FB62
monochromatic
#0611DD #2631F9 #626AFB #9EA3FD #D9DBFE

Accessibility & contrast

On white

4.22
#626AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#626AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626AFB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626AFB#FFFFFF#000000##000000
##626AFB1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0075F8
Tritanopia (blue-blind)
#008DA8
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #626afb;
/* rgb */ color: rgb(98, 106, 251);
/* oklch */ color: oklch(59.9% 0.212 275.5);
Tailwind
colors: {
  custom: {
    50: '#9d94fe',
    500: '#626afb',
    950: '#000000',
  },
}
SCSS
$custom: #626afb;
$custom-light: #9d94fe;
$custom-dark: #000000;
JSON
{
  "hex": "#626afb",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 236.863,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.59922,
    "c": 0.2123,
    "h": 275.5
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

primary
#626AFB
secondary
#F3F1C5
accent
#DA00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #626AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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