#626FAC#626FAC

#626FAC is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.7% C 0.096 H 273.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#626FAC
RGBrgb(98, 111, 172)
HSLhsl(229, 31%, 53%)
HSVhsv(229, 43%, 67%)
CMYKcmyk(43%, 35.5%, 0%, 32.5%)
CIE-LABlab(48.19, 11.34, -34.15)
CIE-LCHlch(48.19, 35.98, 288.36°)
OKLaboklab(55.75% 0.0063 -0.0959)
OKLCHoklch(55.75% 0.096 273.7)
XYZxyz(18.1656, 16.9432, 41.3349)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626FAC #AC9F62
analogous
#6294AC #626FAC #7A62AC
triadic
#626FAC #AC626F #6FAC62
tetradic
#626FAC #AC6294 #AC9F62 #62AC7A
square
#626FAC #AC6294 #AC9F62 #62AC7A
split-complementary
#626FAC #AC7A62 #94AC62
monochromatic
#333B61 #485489 #626FAC #8A94C1 #B2B8D6

Accessibility & contrast

On white

4.78
#626FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#626FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626FAC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626FAC#FFFFFF#000000##FFFFFF
##626FAC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A76AE
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#497B85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #626fac;
/* rgb */ color: rgb(98, 111, 172);
/* oklch */ color: oklch(55.7% 0.096 273.7);
Tailwind
colors: {
  custom: {
    50: '#9298c5',
    500: '#626fac',
    950: '#000000',
  },
}
SCSS
$custom: #626fac;
$custom-light: #9298c5;
$custom-dark: #000000;
JSON
{
  "hex": "#626fac",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 229.459,
    "s": 30.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55748,
    "c": 0.09609,
    "h": 273.7
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#626FAC
secondary
#C5BFA5
accent
#B561C7
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #626FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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