#626A98#626A98

#626A98 is a mid, moderate blue. Relative luminance 0.152; OKLCH L 53.6% C 0.073 H 276.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#626A98
RGBrgb(98, 106, 152)
HSLhsl(231, 22%, 49%)
HSVhsv(231, 36%, 60%)
CMYKcmyk(35.5%, 30.3%, 0%, 40.4%)
CIE-LABlab(45.87, 8.58, -26.02)
CIE-LCHlch(45.87, 27.39, 288.25°)
OKLaboklab(53.65% 0.0077 -0.0724)
OKLCHoklch(53.65% 0.073 276.1)
XYZxyz(15.8569, 15.1712, 31.7925)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626A98 #989062
analogous
#628598 #626A98 #756298
triadic
#626A98 #98626A #6A9862
tetradic
#626A98 #986285 #989062 #629875
square
#626A98 #986285 #989062 #629875
split-complementary
#626A98 #987562 #859862
monochromatic
#32364E #4A5073 #626A98 #868CB1 #ABB0C9

Accessibility & contrast

On white

5.21
#626A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#626A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626A98
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626A98#FFFFFF#000000##FFFFFF
##626A981.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F9A
Deuteranopia (green-blind)
#586B97
Tritanopia (blue-blind)
#53737A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #626a98;
/* rgb */ color: rgb(98, 106, 152);
/* oklch */ color: oklch(53.6% 0.073 276.1);
Tailwind
colors: {
  custom: {
    50: '#9094b6',
    500: '#626a98',
    950: '#000000',
  },
}
SCSS
$custom: #626a98;
$custom-light: #9094b6;
$custom-dark: #000000;
JSON
{
  "hex": "#626a98",
  "rgb": {
    "r": 98,
    "g": 106,
    "b": 152
  },
  "hsl": {
    "h": 231.111,
    "s": 21.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53647,
    "c": 0.07281,
    "h": 276.1
  },
  "luminance": 0.15172
}

Semantic roles & 50–950 ramp

primary
#626A98
secondary
#B8B49E
accent
#B26ABE
background
#F8F9FB
surface
#F0F1F6
border
#CBCBD0
text
#0D0D11
muted
#7D7E80

Preview Lab

Preview with #626A98

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

Preview Lab → · Contrast checker → · Palette generator →

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