#626DCB#626DCB

#626DCB is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.1% C 0.144 H 275.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#626DCB
RGBrgb(98, 109, 203)
HSLhsl(234, 50%, 59%)
HSVhsv(234, 52%, 80%)
CMYKcmyk(51.7%, 46.3%, 0%, 20.4%)
CIE-LABlab(49.31, 22.12, -50.28)
CIE-LCHlch(49.31, 54.93, 293.75°)
OKLaboklab(57.14% 0.0146 -0.143)
OKLCHoklch(57.14% 0.144 275.8)
XYZxyz(21.2817, 17.8444, 58.8112)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626DCB #CBC062
analogous
#62A2CB #626DCB #8C62CB
triadic
#626DCB #CB626D #6DCB62
tetradic
#626DCB #CB62A2 #CBC062 #62CB8C
square
#626DCB #CB62A2 #CBC062 #62CB8C
split-complementary
#626DCB #CB8C62 #A2CB62
monochromatic
#2C3686 #3C48B4 #626DCB #9098DA #BEC3E9

Accessibility & contrast

On white

4.60
#626DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#626DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #626DCB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626DCB#FFFFFF#000000##FFFFFF
##626DCB1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACE
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#348192
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #626dcb;
/* rgb */ color: rgb(98, 109, 203);
/* oklch */ color: oklch(57.1% 0.144 275.8);
Tailwind
colors: {
  custom: {
    50: '#9596db',
    500: '#626dcb',
    950: '#000000',
  },
}
SCSS
$custom: #626dcb;
$custom-light: #9596db;
$custom-dark: #000000;
JSON
{
  "hex": "#626dcb",
  "rgb": {
    "r": 98,
    "g": 109,
    "b": 203
  },
  "hsl": {
    "h": 233.714,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.14378,
    "h": 275.8
  },
  "luminance": 0.17846
}

Semantic roles & 50–950 ramp

primary
#626DCB
secondary
#D9D5B0
accent
#CB4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #626DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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