#626CD9#626CD9

#626CD9 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.9% C 0.165 H 276.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#626CD9
RGBrgb(98, 108, 217)
HSLhsl(235, 61%, 62%)
HSVhsv(235, 55%, 85%)
CMYKcmyk(54.8%, 50.2%, 0%, 14.9%)
CIE-LABlab(49.89, 27.19, -57.31)
CIE-LCHlch(49.89, 63.44, 295.38°)
OKLaboklab(57.86% 0.0173 -0.1637)
OKLCHoklch(57.86% 0.165 276)
XYZxyz(22.9199, 18.3300, 67.9625)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626CD9 #D9CF62
analogous
#62A8D9 #626CD9 #9462D9
triadic
#626CD9 #D9626C #6CD962
tetradic
#626CD9 #D962A8 #D9CF62 #62D994
square
#626CD9 #D962A8 #D9CF62 #62D994
split-complementary
#626CD9 #D99462 #A8D962
monochromatic
#262F9B #313ECC #626CD9 #939AE5 #C5C8F1

Accessibility & contrast

On white

4.50
#626CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#626CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626CD9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626CD9#FFFFFF#000000##000000
##626CD91.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#347CDD
Deuteranopia (green-blind)
#2272D7
Tritanopia (blue-blind)
#248498
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #626cd9;
/* rgb */ color: rgb(98, 108, 217);
/* oklch */ color: oklch(57.9% 0.165 276.0);
Tailwind
colors: {
  custom: {
    50: '#9796e5',
    500: '#626cd9',
    950: '#000000',
  },
}
SCSS
$custom: #626cd9;
$custom-light: #9796e5;
$custom-dark: #000000;
JSON
{
  "hex": "#626cd9",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 234.958,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57858,
    "c": 0.16461,
    "h": 276
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

primary
#626CD9
secondary
#E1DEB5
accent
#BA1DC9
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #626CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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