#626BDB#626BDB

#626BDB is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.8% C 0.169 H 276.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#626BDB
RGBrgb(98, 107, 219)
HSLhsl(236, 63%, 62%)
HSVhsv(236, 55%, 86%)
CMYKcmyk(55.3%, 51.1%, 0%, 14.1%)
CIE-LABlab(49.77, 28.44, -58.65)
CIE-LCHlch(49.77, 65.18, 295.87°)
OKLaboklab(57.8% 0.0185 -0.1676)
OKLCHoklch(57.8% 0.169 276.3)
XYZxyz(23.0768, 18.2250, 69.3058)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BDB #DBD262
analogous
#62A8DB #626BDB #9662DB
triadic
#626BDB #DB626B #6BDB62
tetradic
#626BDB #DB62A8 #DBD262 #62DB96
square
#626BDB #DB62A8 #DBD262 #62DB96
split-complementary
#626BDB #DB9662 #A8DB62
monochromatic
#242D9E #303CD0 #626BDB #949AE6 #C6C9F2

Accessibility & contrast

On white

4.52
#626BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#626BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626BDB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BDB#FFFFFF#000000##000000
##626BDB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CDF
Deuteranopia (green-blind)
#1971D9
Tritanopia (blue-blind)
#218499
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #626bdb;
/* rgb */ color: rgb(98, 107, 219);
/* oklch */ color: oklch(57.8% 0.169 276.3);
Tailwind
colors: {
  custom: {
    50: '#9895e7',
    500: '#626bdb',
    950: '#000000',
  },
}
SCSS
$custom: #626bdb;
$custom-light: #9895e7;
$custom-dark: #000000;
JSON
{
  "hex": "#626bdb",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 235.537,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.16866,
    "h": 276.3
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

primary
#626BDB
secondary
#E3DFB6
accent
#BD1BCA
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #626BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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