#626CE2#626CE2

#626CE2 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.5% C 0.177 H 275.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#626CE2
RGBrgb(98, 108, 226)
HSLhsl(235, 69%, 64%)
HSVhsv(235, 57%, 89%)
CMYKcmyk(56.6%, 52.2%, 0%, 11.4%)
CIE-LABlab(50.47, 30.08, -61.48)
CIE-LCHlch(50.47, 68.44, 296.07°)
OKLaboklab(58.47% 0.018 -0.176)
OKLCHoklch(58.47% 0.177 275.8)
XYZxyz(24.1226, 18.8111, 74.2965)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626CE2 #E2D862
analogous
#62ACE2 #626CE2 #9862E2
triadic
#626CE2 #E2626C #6CE262
tetradic
#626CE2 #E262AC #E2D862 #62E298
square
#626CE2 #E262AC #E2D862 #62E298
split-complementary
#626CE2 #E29862 #ACE262
monochromatic
#1F2AAA #2E3CD8 #626CE2 #969CEC #C9CDF5

Accessibility & contrast

On white

4.41
#626CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#626CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626CE2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626CE2#FFFFFF#000000##000000
##626CE21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#277EE6
Deuteranopia (green-blind)
#0273E0
Tritanopia (blue-blind)
#12879D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #626ce2;
/* rgb */ color: rgb(98, 108, 226);
/* oklch */ color: oklch(58.5% 0.177 275.8);
Tailwind
colors: {
  custom: {
    50: '#9996ec',
    500: '#626ce2',
    950: '#000000',
  },
}
SCSS
$custom: #626ce2;
$custom-light: #9996ec;
$custom-dark: #000000;
JSON
{
  "hex": "#626ce2",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 226
  },
  "hsl": {
    "h": 235.313,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58471,
    "c": 0.17688,
    "h": 275.8
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

primary
#626CE2
secondary
#E7E3B9
accent
#C215D1
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #626CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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