#626FF2#626FF2

#626FF2 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.2% C 0.194 H 274.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#626FF2
RGBrgb(98, 111, 242)
HSLhsl(235, 85%, 67%)
HSVhsv(235, 60%, 95%)
CMYKcmyk(59.5%, 54.1%, 0%, 5.1%)
CIE-LABlab(52.26, 33.42, -67.55)
CIE-LCHlch(52.26, 75.37, 296.33°)
OKLaboklab(60.15% 0.0159 -0.1938)
OKLCHoklch(60.15% 0.194 274.7)
XYZxyz(26.7432, 20.3743, 86.5105)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626FF2 #F2E562
analogous
#62B7F2 #626FF2 #9D62F2
triadic
#626FF2 #F2626F #6FF262
tetradic
#626FF2 #F262B7 #F2E562 #62F29D
square
#626FF2 #F262B7 #F2E562 #62F29D
split-complementary
#626FF2 #F29D62 #B7F262
monochromatic
#1121C9 #293BED #626FF2 #9BA3F7 #D3D7FB

Accessibility & contrast

On white

4.14
#626FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#626FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626FF2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626FF2#FFFFFF#000000##000000
##626FF21.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D83F7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#008EA6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #626ff2;
/* rgb */ color: rgb(98, 111, 242);
/* oklch */ color: oklch(60.2% 0.194 274.7);
Tailwind
colors: {
  custom: {
    50: '#9b98f7',
    500: '#626ff2',
    950: '#000000',
  },
}
SCSS
$custom: #626ff2;
$custom-light: #9b98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#626ff2",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 234.583,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6015,
    "c": 0.19445,
    "h": 274.7
  },
  "luminance": 0.20376
}

Semantic roles & 50–950 ramp

primary
#626FF2
secondary
#EFEBC1
accent
#CD04E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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