#626BC3#626BC3

#626BC3 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.2% C 0.135 H 276.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#626BC3
RGBrgb(98, 107, 195)
HSLhsl(234, 45%, 57%)
HSVhsv(234, 50%, 76%)
CMYKcmyk(49.7%, 45.1%, 0%, 23.5%)
CIE-LABlab(48.32, 20.84, -47.26)
CIE-LCHlch(48.32, 51.65, 293.79°)
OKLaboklab(56.25% 0.0158 -0.1342)
OKLCHoklch(56.25% 0.135 276.7)
XYZxyz(20.1420, 17.0510, 53.8490)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BC3 #C3BA62
analogous
#629BC3 #626BC3 #8A62C3
triadic
#626BC3 #C3626B #6BC362
tetradic
#626BC3 #C3629B #C3BA62 #62C38A
square
#626BC3 #C3629B #C3BA62 #62C38A
split-complementary
#626BC3 #C38A62 #9BC362
monochromatic
#2F367B #404AA8 #626BC3 #8E95D4 #BBBEE5

Accessibility & contrast

On white

4.76
#626BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#626BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626BC3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BC3#FFFFFF#000000##FFFFFF
##626BC31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4677C6
Deuteranopia (green-blind)
#3D6FC1
Tritanopia (blue-blind)
#3C7E8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #626bc3;
/* rgb */ color: rgb(98, 107, 195);
/* oklch */ color: oklch(56.2% 0.135 276.7);
Tailwind
colors: {
  custom: {
    50: '#9595d6',
    500: '#626bc3',
    950: '#000000',
  },
}
SCSS
$custom: #626bc3;
$custom-light: #9595d6;
$custom-dark: #000000;
JSON
{
  "hex": "#626bc3",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 195
  },
  "hsl": {
    "h": 234.433,
    "s": 44.7,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56247,
    "c": 0.13511,
    "h": 276.7
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

primary
#626BC3
secondary
#D4D0AD
accent
#C853D4
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83

Preview Lab

Preview with #626BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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