#626BFB#626BFB

#626BFB is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.1% C 0.211 H 275.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#626BFB
RGBrgb(98, 107, 251)
HSLhsl(236, 95%, 68%)
HSVhsv(236, 61%, 98%)
CMYKcmyk(61%, 57.4%, 0%, 1.6%)
CIE-LABlab(51.92, 38.74, -73.10)
CIE-LCHlch(51.92, 82.73, 297.92°)
OKLaboklab(60.1% 0.0197 -0.2102)
OKLCHoklch(60.1% 0.211 275.3)
XYZxyz(27.7016, 20.0749, 93.6631)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BFB #FBF262
analogous
#62B7FB #626BFB #A562FB
triadic
#626BFB #FB626B #6BFB62
tetradic
#626BFB #FB62B7 #FBF262 #62FBA5
square
#626BFB #FB62B7 #FBF262 #62FBA5
split-complementary
#626BFB #FBA562 #B7FB62
monochromatic
#0612DD #2633F9 #626BFB #9EA3FD #D9DCFE

Accessibility & contrast

On white

4.19
#626BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#626BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626BFB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BFB#FFFFFF#000000##000000
##626BFB1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0075F8
Tritanopia (blue-blind)
#008EA9
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #626bfb;
/* rgb */ color: rgb(98, 107, 251);
/* oklch */ color: oklch(60.1% 0.211 275.3);
Tailwind
colors: {
  custom: {
    50: '#9d95fe',
    500: '#626bfb',
    950: '#000000',
  },
}
SCSS
$custom: #626bfb;
$custom-light: #9d95fe;
$custom-dark: #000000;
JSON
{
  "hex": "#626bfb",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 236.471,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60096,
    "c": 0.21109,
    "h": 275.3
  },
  "luminance": 0.20077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #626BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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