#626CEC#626CEC

#626CEC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.2% C 0.190 H 275.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#626CEC
RGBrgb(98, 108, 236)
HSLhsl(236, 78%, 65%)
HSVhsv(236, 58%, 93%)
CMYKcmyk(58.5%, 54.2%, 0%, 7.5%)
CIE-LABlab(51.12, 33.30, -66.03)
CIE-LCHlch(51.12, 73.96, 296.76°)
OKLaboklab(59.17% 0.0185 -0.1894)
OKLCHoklch(59.17% 0.19 275.6)
XYZxyz(25.5350, 19.3760, 81.7350)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626CEC #ECE262
analogous
#62B1EC #626CEC #9D62EC
triadic
#626CEC #EC626C #6CEC62
tetradic
#626CEC #EC62B1 #ECE262 #62EC9D
square
#626CEC #EC62B1 #ECE262 #62EC9D
split-complementary
#626CEC #EC9D62 #B1EC62
monochromatic
#1723BD #2B39E5 #626CEC #999FF3 #CFD2F9

Accessibility & contrast

On white

4.31
#626CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#626CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #626CEC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626CEC#FFFFFF#000000##000000
##626CEC1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F80F0
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #626cec;
/* rgb */ color: rgb(98, 108, 236);
/* oklch */ color: oklch(59.2% 0.190 275.6);
Tailwind
colors: {
  custom: {
    50: '#9a96f3',
    500: '#626cec',
    950: '#000000',
  },
}
SCSS
$custom: #626cec;
$custom-light: #9a96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#626cec",
  "rgb": {
    "r": 98,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 235.652,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.19026,
    "h": 275.6
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #626CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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