#626EC2#626EC2

#626EC2 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.8% C 0.130 H 275.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#626EC2
RGBrgb(98, 110, 194)
HSLhsl(233, 44%, 57%)
HSVhsv(233, 49%, 76%)
CMYKcmyk(49.5%, 43.3%, 0%, 23.9%)
CIE-LABlab(49.06, 18.68, -45.51)
CIE-LCHlch(49.06, 49.20, 292.31°)
OKLaboklab(56.79% 0.0121 -0.129)
OKLCHoklch(56.79% 0.13 275.4)
XYZxyz(20.3475, 17.6424, 53.3616)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626EC2 #C2B662
analogous
#629EC2 #626EC2 #8662C2
triadic
#626EC2 #C2626E #6EC262
tetradic
#626EC2 #C2629E #C2B662 #62C286
square
#626EC2 #C2629E #C2B662 #62C286
split-complementary
#626EC2 #C28662 #9EC262
monochromatic
#2F397A #414DA6 #626EC2 #8E97D3 #BABFE4

Accessibility & contrast

On white

4.64
#626EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#626EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #626EC2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626EC2#FFFFFF#000000##FFFFFF
##626EC21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C5
Deuteranopia (green-blind)
#4371C0
Tritanopia (blue-blind)
#3C808E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #626ec2;
/* rgb */ color: rgb(98, 110, 194);
/* oklch */ color: oklch(56.8% 0.130 275.4);
Tailwind
colors: {
  custom: {
    50: '#9497d5',
    500: '#626ec2',
    950: '#000000',
  },
}
SCSS
$custom: #626ec2;
$custom-light: #9497d5;
$custom-dark: #000000;
JSON
{
  "hex": "#626ec2",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 232.5,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.12961,
    "h": 275.4
  },
  "luminance": 0.17644
}

Semantic roles & 50–950 ramp

primary
#626EC2
secondary
#D3CEAC
accent
#C454D4
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #626EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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