#626CCB#626CCB

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

Color values

HEX#626CCB
RGBrgb(98, 108, 203)
HSLhsl(234, 50%, 59%)
HSVhsv(234, 52%, 80%)
CMYKcmyk(51.7%, 46.8%, 0%, 20.4%)
CIE-LABlab(49.05, 22.74, -50.70)
CIE-LCHlch(49.05, 55.56, 294.16°)
OKLaboklab(56.95% 0.0158 -0.1443)
OKLCHoklch(56.95% 0.145 276.2)
XYZxyz(21.1757, 17.6323, 58.7759)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626CCB #CBC162
analogous
#62A1CB #626CCB #8D62CB
triadic
#626CCB #CB626C #6CCB62
tetradic
#626CCB #CB62A1 #CBC162 #62CB8D
square
#626CCB #CB62A1 #CBC162 #62CB8D
split-complementary
#626CCB #CB8D62 #A1CB62
monochromatic
#2C3586 #3C47B4 #626CCB #9097DA #BEC2E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##626CCB#FFFFFF#000000##FFFFFF
##626CCB1.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)
#4279CE
Deuteranopia (green-blind)
#3770C9
Tritanopia (blue-blind)
#358192
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #626ccb;
/* rgb */ color: rgb(98, 108, 203);
/* oklch */ color: oklch(56.9% 0.145 276.2);
Tailwind
colors: {
  custom: {
    50: '#9595db',
    500: '#626ccb',
    950: '#000000',
  },
}
SCSS
$custom: #626ccb;
$custom-light: #9595db;
$custom-dark: #000000;
JSON
{
  "hex": "#626ccb",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 203
  },
  "hsl": {
    "h": 234.286,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.56945,
    "c": 0.14512,
    "h": 276.2
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#626CCB
secondary
#D9D5B0
accent
#CC4EDA
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #626CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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