#626EC5#626EC5

#626EC5 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.0% C 0.134 H 275.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#626EC5
RGBrgb(98, 110, 197)
HSLhsl(233, 46%, 58%)
HSVhsv(233, 50%, 77%)
CMYKcmyk(50.3%, 44.2%, 0%, 22.7%)
CIE-LABlab(49.23, 19.62, -46.97)
CIE-LCHlch(49.23, 50.90, 292.67°)
OKLaboklab(56.97% 0.0126 -0.1333)
OKLCHoklch(56.97% 0.134 275.4)
XYZxyz(20.6878, 17.7785, 55.1540)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626EC5 #C5B962
analogous
#62A0C5 #626EC5 #8762C5
triadic
#626EC5 #C5626E #6EC562
tetradic
#626EC5 #C562A0 #C5B962 #62C587
square
#626EC5 #C562A0 #C5B962 #62C587
split-complementary
#626EC5 #C58762 #A0C562
monochromatic
#2F387E #3F4CAB #626EC5 #8F97D6 #BBC1E6

Accessibility & contrast

On white

4.61
#626EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#626EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #626EC5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626EC5#FFFFFF#000000##FFFFFF
##626EC51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A79C8
Deuteranopia (green-blind)
#4071C3
Tritanopia (blue-blind)
#398190
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #626ec5;
/* rgb */ color: rgb(98, 110, 197);
/* oklch */ color: oklch(57.0% 0.134 275.4);
Tailwind
colors: {
  custom: {
    50: '#9597d7',
    500: '#626ec5',
    950: '#000000',
  },
}
SCSS
$custom: #626ec5;
$custom-light: #9597d7;
$custom-dark: #000000;
JSON
{
  "hex": "#626ec5",
  "rgb": {
    "r": 98,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 232.727,
    "s": 46.047,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5697,
    "c": 0.1339,
    "h": 275.4
  },
  "luminance": 0.1778
}

Semantic roles & 50–950 ramp

primary
#626EC5
secondary
#D5D0AE
accent
#C652D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #626EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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