#626AEF#626AEF

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

Color values

HEX#626AEF
RGBrgb(98, 106, 239)
HSLhsl(237, 82%, 66%)
HSVhsv(237, 59%, 94%)
CMYKcmyk(59%, 55.6%, 0%, 6.3%)
CIE-LABlab(50.84, 35.48, -68.17)
CIE-LCHlch(50.84, 76.84, 297.49°)
OKLaboklab(59.03% 0.0205 -0.1956)
OKLCHoklch(59.03% 0.197 276)
XYZxyz(25.7660, 19.1348, 83.9802)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626AEF #EFE762
analogous
#62B0EF #626AEF #A062EF
triadic
#626AEF #EF626A #6AEF62
tetradic
#626AEF #EF62B0 #EFE762 #62EFA0
square
#626AEF #EF62B0 #EFE762 #62EFA0
split-complementary
#626AEF #EFA062 #B0EF62
monochromatic
#141EC3 #2A35E9 #626AEF #9A9FF5 #D1D3FA

Accessibility & contrast

On white

4.35
#626AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##626AEF#FFFFFF#000000##000000
##626AEF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#0089A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #626aef;
/* rgb */ color: rgb(98, 106, 239);
/* oklch */ color: oklch(59.0% 0.197 276.0);
Tailwind
colors: {
  custom: {
    50: '#9b94f5',
    500: '#626aef',
    950: '#000000',
  },
}
SCSS
$custom: #626aef;
$custom-light: #9b94f5;
$custom-dark: #000000;
JSON
{
  "hex": "#626aef",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 236.596,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.5903,
    "c": 0.19672,
    "h": 276
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#626AEF
secondary
#EEEBBF
accent
#D208DE
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #626AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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