#626AAA#626AAA

#626AAA is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.6% C 0.100 H 277.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#626AAA
RGBrgb(98, 106, 170)
HSLhsl(233, 30%, 53%)
HSVhsv(233, 42%, 67%)
CMYKcmyk(42.4%, 37.6%, 0%, 33.3%)
CIE-LABlab(46.72, 13.81, -35.29)
CIE-LCHlch(46.72, 37.89, 291.37°)
OKLaboklab(54.58% 0.0124 -0.0992)
OKLCHoklch(54.58% 0.1 277.1)
XYZxyz(17.4446, 15.8062, 40.1542)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626AAA #AAA262
analogous
#628EAA #626AAA #7E62AA
triadic
#626AAA #AA626A #6AAA62
tetradic
#626AAA #AA628E #AAA262 #62AA7E
square
#626AAA #AA628E #AAA262 #62AA7E
split-complementary
#626AAA #AA7E62 #8EAA62
monochromatic
#33385E #494F86 #626AAA #8A90BF #B1B5D5

Accessibility & contrast

On white

5.05
#626AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#626AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626AAA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626AAA#FFFFFF#000000##FFFFFF
##626AAA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AD
Deuteranopia (green-blind)
#4F6CA9
Tritanopia (blue-blind)
#4B7782
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #626aaa;
/* rgb */ color: rgb(98, 106, 170);
/* oklch */ color: oklch(54.6% 0.100 277.1);
Tailwind
colors: {
  custom: {
    50: '#9294c3',
    500: '#626aaa',
    950: '#000000',
  },
}
SCSS
$custom: #626aaa;
$custom-light: #9294c3;
$custom-dark: #000000;
JSON
{
  "hex": "#626aaa",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 233.333,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54584,
    "c": 0.09998,
    "h": 277.1
  },
  "luminance": 0.15807
}

Semantic roles & 50–950 ramp

primary
#626AAA
secondary
#C4C0A4
accent
#BB62C6
background
#F9F9FC
surface
#F1F1F8
border
#CBCBD1
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #626AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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