#626BAC#626BAC

#626BAC is a mid, moderate blue. Relative luminance 0.161; OKLCH L 54.9% C 0.102 H 276.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#626BAC
RGBrgb(98, 107, 172)
HSLhsl(233, 31%, 53%)
HSVhsv(233, 43%, 67%)
CMYKcmyk(43%, 37.8%, 0%, 32.5%)
CIE-LABlab(47.09, 13.79, -35.87)
CIE-LCHlch(47.09, 38.43, 291.03°)
OKLaboklab(54.9% 0.0115 -0.1009)
OKLCHoklch(54.9% 0.102 276.5)
XYZxyz(17.7389, 16.0898, 41.1927)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BAC #ACA362
analogous
#6290AC #626BAC #7E62AC
triadic
#626BAC #AC626B #6BAC62
tetradic
#626BAC #AC6290 #ACA362 #62AC7E
square
#626BAC #AC6290 #ACA362 #62AC7E
split-complementary
#626BAC #AC7E62 #90AC62
monochromatic
#333961 #485089 #626BAC #8A91C1 #B2B6D6

Accessibility & contrast

On white

4.98
#626BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#626BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626BAC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BAC#FFFFFF#000000##FFFFFF
##626BAC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5473AF
Deuteranopia (green-blind)
#4F6DAA
Tritanopia (blue-blind)
#4A7883
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #626bac;
/* rgb */ color: rgb(98, 107, 172);
/* oklch */ color: oklch(54.9% 0.102 276.5);
Tailwind
colors: {
  custom: {
    50: '#9295c5',
    500: '#626bac',
    950: '#000000',
  },
}
SCSS
$custom: #626bac;
$custom-light: #9295c5;
$custom-dark: #000000;
JSON
{
  "hex": "#626bac",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 172
  },
  "hsl": {
    "h": 232.703,
    "s": 30.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54903,
    "c": 0.10156,
    "h": 276.5
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#626BAC
secondary
#C5C1A5
accent
#BB61C7
background
#F9F9FC
surface
#F1F1F8
border
#CBCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #626BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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