#626DEC#626DEC

#626DEC is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.4% C 0.189 H 275.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#626DEC
RGBrgb(98, 109, 236)
HSLhsl(235, 78%, 65%)
HSVhsv(235, 58%, 93%)
CMYKcmyk(58.5%, 53.8%, 0%, 7.5%)
CIE-LABlab(51.37, 32.69, -65.64)
CIE-LCHlch(51.37, 73.33, 296.48°)
OKLaboklab(59.36% 0.0175 -0.1882)
OKLCHoklch(59.36% 0.189 275.3)
XYZxyz(25.6410, 19.5881, 81.7703)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626DEC #ECE162
analogous
#62B2EC #626DEC #9C62EC
triadic
#626DEC #EC626D #6DEC62
tetradic
#626DEC #EC62B2 #ECE162 #62EC9C
square
#626DEC #EC62B2 #ECE162 #62EC9C
split-complementary
#626DEC #EC9C62 #B2EC62
monochromatic
#1724BD #2B3AE5 #626DEC #99A0F3 #CFD3F9

Accessibility & contrast

On white

4.27
#626DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#626DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626DEC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626DEC#FFFFFF#000000##000000
##626DEC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1580F0
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #626dec;
/* rgb */ color: rgb(98, 109, 236);
/* oklch */ color: oklch(59.4% 0.189 275.3);
Tailwind
colors: {
  custom: {
    50: '#9a96f3',
    500: '#626dec',
    950: '#000000',
  },
}
SCSS
$custom: #626dec;
$custom-light: #9a96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#626dec",
  "rgb": {
    "r": 98,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 235.217,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59357,
    "c": 0.189,
    "h": 275.3
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#626DEC
secondary
#ECE8BE
accent
#CA0BDB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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