#626BEC#626BEC

#626BEC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.0% C 0.192 H 275.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#626BEC
RGBrgb(98, 107, 236)
HSLhsl(236, 78%, 65%)
HSVhsv(236, 58%, 93%)
CMYKcmyk(58.5%, 54.7%, 0%, 7.5%)
CIE-LABlab(50.88, 33.90, -66.43)
CIE-LCHlch(50.88, 74.58, 297.04°)
OKLaboklab(58.99% 0.0194 -0.1905)
OKLCHoklch(58.99% 0.192 275.8)
XYZxyz(25.4301, 19.1663, 81.7000)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BEC #ECE362
analogous
#62B0EC #626BEC #9E62EC
triadic
#626BEC #EC626B #6BEC62
tetradic
#626BEC #EC62B0 #ECE362 #62EC9E
square
#626BEC #EC62B0 #ECE362 #62EC9E
split-complementary
#626BEC #EC9E62 #B0EC62
monochromatic
#1722BD #2B38E5 #626BEC #999EF3 #CFD2F9

Accessibility & contrast

On white

4.34
#626BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#626BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626BEC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BEC#FFFFFF#000000##000000
##626BEC1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#057FF0
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#0089A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #626bec;
/* rgb */ color: rgb(98, 107, 236);
/* oklch */ color: oklch(59.0% 0.192 275.8);
Tailwind
colors: {
  custom: {
    50: '#9a95f3',
    500: '#626bec',
    950: '#000000',
  },
}
SCSS
$custom: #626bec;
$custom-light: #9a95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#626bec",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 236.087,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58993,
    "c": 0.19152,
    "h": 275.8
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#626BEC
secondary
#ECE9BE
accent
#CD0BDB
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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