#626FEB#626FEB

#626FEB is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.7% C 0.185 H 274.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#626FEB
RGBrgb(98, 111, 235)
HSLhsl(234, 77%, 65%)
HSVhsv(234, 58%, 92%)
CMYKcmyk(58.3%, 52.8%, 0%, 7.8%)
CIE-LABlab(51.79, 31.16, -64.39)
CIE-LCHlch(51.79, 71.53, 295.82°)
OKLaboklab(59.66% 0.0155 -0.1845)
OKLCHoklch(59.66% 0.185 274.8)
XYZxyz(25.7120, 19.9618, 81.0792)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626FEB #EBDE62
analogous
#62B3EB #626FEB #9A62EB
triadic
#626FEB #EB626F #6FEB62
tetradic
#626FEB #EB62B3 #EBDE62 #62EB9A
square
#626FEB #EB62B3 #EBDE62 #62EB9A
split-complementary
#626FEB #EB9A62 #B3EB62
monochromatic
#1827BB #2C3DE4 #626FEB #98A1F2 #CFD3F9

Accessibility & contrast

On white

4.21
#626FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#626FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626FEB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626FEB#FFFFFF#000000##000000
##626FEB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282EF
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #626feb;
/* rgb */ color: rgb(98, 111, 235);
/* oklch */ color: oklch(59.7% 0.185 274.8);
Tailwind
colors: {
  custom: {
    50: '#9a98f2',
    500: '#626feb',
    950: '#000000',
  },
}
SCSS
$custom: #626feb;
$custom-light: #9a98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#626feb",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 234.307,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59655,
    "c": 0.18515,
    "h": 274.8
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#626FEB
secondary
#EBE7BD
accent
#C60CDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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