#626CC5#626CC5

#626CC5 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.6% C 0.137 H 276.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#626CC5
RGBrgb(98, 108, 197)
HSLhsl(234, 46%, 58%)
HSVhsv(234, 50%, 77%)
CMYKcmyk(50.3%, 45.2%, 0%, 22.7%)
CIE-LABlab(48.70, 20.85, -47.81)
CIE-LCHlch(48.70, 52.16, 293.56°)
OKLaboklab(56.57% 0.015 -0.1358)
OKLCHoklch(56.57% 0.137 276.3)
XYZxyz(20.4744, 17.3518, 55.0829)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626CC5 #C5BB62
analogous
#629EC5 #626CC5 #8962C5
triadic
#626CC5 #C5626C #6CC562
tetradic
#626CC5 #C5629E #C5BB62 #62C589
square
#626CC5 #C5629E #C5BB62 #62C589
split-complementary
#626CC5 #C58962 #9EC562
monochromatic
#2F377E #3F4AAB #626CC5 #8F96D6 #BBC0E6

Accessibility & contrast

On white

4.70
#626CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#626CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626CC5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626CC5#FFFFFF#000000##FFFFFF
##626CC51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4678C8
Deuteranopia (green-blind)
#3D70C3
Tritanopia (blue-blind)
#3A7F8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #626cc5;
/* rgb */ color: rgb(98, 108, 197);
/* oklch */ color: oklch(56.6% 0.137 276.3);
Tailwind
colors: {
  custom: {
    50: '#9595d7',
    500: '#626cc5',
    950: '#000000',
  },
}
SCSS
$custom: #626cc5;
$custom-light: #9595d7;
$custom-dark: #000000;
JSON
{
  "hex": "#626cc5",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 233.939,
    "s": 46.047,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.13661,
    "h": 276.3
  },
  "luminance": 0.17353
}

Semantic roles & 50–950 ramp

primary
#626CC5
secondary
#D5D1AE
accent
#C852D6
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #626CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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