#626FEF#626FEF

#626FEF is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.9% C 0.190 H 274.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#626FEF
RGBrgb(98, 111, 239)
HSLhsl(234, 82%, 66%)
HSVhsv(234, 59%, 94%)
CMYKcmyk(59%, 53.6%, 0%, 6.3%)
CIE-LABlab(52.06, 32.45, -66.20)
CIE-LCHlch(52.06, 73.73, 296.11°)
OKLaboklab(59.94% 0.0157 -0.1898)
OKLCHoklch(59.94% 0.19 274.7)
XYZxyz(26.2963, 20.1955, 84.1570)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626FEF #EFE262
analogous
#62B5EF #626FEF #9B62EF
triadic
#626FEF #EF626F #6FEF62
tetradic
#626FEF #EF62B5 #EFE262 #62EF9B
square
#626FEF #EF62B5 #EFE262 #62EF9B
split-complementary
#626FEF #EF9B62 #B5EF62
monochromatic
#1424C3 #2A3CE9 #626FEF #9AA2F5 #D1D5FA

Accessibility & contrast

On white

4.17
#626FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#626FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626FEF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626FEF#FFFFFF#000000##000000
##626FEF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1882F3
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #626fef;
/* rgb */ color: rgb(98, 111, 239);
/* oklch */ color: oklch(59.9% 0.190 274.7);
Tailwind
colors: {
  custom: {
    50: '#9a98f5',
    500: '#626fef',
    950: '#000000',
  },
}
SCSS
$custom: #626fef;
$custom-light: #9a98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#626fef",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 234.468,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59936,
    "c": 0.19048,
    "h": 274.7
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

primary
#626FEF
secondary
#EEE9BF
accent
#CA08DE
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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