#626AAF#626AAF

#626AAF is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.9% C 0.107 H 277.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#626AAF
RGBrgb(98, 106, 175)
HSLhsl(234, 32%, 54%)
HSVhsv(234, 44%, 69%)
CMYKcmyk(44%, 39.4%, 0%, 31.4%)
CIE-LABlab(46.97, 15.30, -37.81)
CIE-LCHlch(46.97, 40.79, 292.04°)
OKLaboklab(54.86% 0.0135 -0.1065)
OKLCHoklch(54.86% 0.107 277.2)
XYZxyz(17.9266, 15.9990, 42.6927)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626AAF #AFA762
analogous
#6290AF #626AAF #8062AF
triadic
#626AAF #AF626A #6AAF62
tetradic
#626AAF #AF6290 #AFA762 #62AF80
square
#626AAF #AF6290 #AFA762 #62AF80
split-complementary
#626AAF #AF8062 #90AF62
monochromatic
#333864 #474F8C #626AAF #8B90C4 #B3B7D8

Accessibility & contrast

On white

5.00
#626AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#626AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626AAF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626AAF#FFFFFF#000000##FFFFFF
##626AAF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5172B2
Deuteranopia (green-blind)
#4B6DAD
Tritanopia (blue-blind)
#487884
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #626aaf;
/* rgb */ color: rgb(98, 106, 175);
/* oklch */ color: oklch(54.9% 0.107 277.2);
Tailwind
colors: {
  custom: {
    50: '#9294c7',
    500: '#626aaf',
    950: '#000000',
  },
}
SCSS
$custom: #626aaf;
$custom-light: #9294c7;
$custom-dark: #000000;
JSON
{
  "hex": "#626aaf",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 175
  },
  "hsl": {
    "h": 233.766,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.1074,
    "h": 277.2
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#626AAF
secondary
#C7C3A6
accent
#BE5FC9
background
#F9F9FC
surface
#F1F1F8
border
#CBCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #626AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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