#626FB2#626FB2

#626FB2 is a mid, moderate blue. Relative luminance 0.172; OKLCH L 56.1% C 0.105 H 274.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#626FB2
RGBrgb(98, 111, 178)
HSLhsl(230, 34%, 54%)
HSVhsv(230, 45%, 70%)
CMYKcmyk(44.9%, 37.6%, 0%, 30.2%)
CIE-LABlab(48.48, 13.14, -37.17)
CIE-LCHlch(48.48, 39.43, 289.47°)
OKLaboklab(56.07% 0.0077 -0.1047)
OKLCHoklch(56.07% 0.105 274.2)
XYZxyz(18.7549, 17.1789, 44.4385)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626FB2 #B2A562
analogous
#6297B2 #626FB2 #7D62B2
triadic
#626FB2 #B2626F #6FB262
tetradic
#626FB2 #B26297 #B2A562 #62B27D
square
#626FB2 #B26297 #B2A562 #62B27D
split-complementary
#626FB2 #B27D62 #97B262
monochromatic
#333B67 #475390 #626FB2 #8B95C6 #B4BADA

Accessibility & contrast

On white

4.73
#626FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#626FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626FB2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626FB2#FFFFFF#000000##FFFFFF
##626FB21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#467D88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #626fb2;
/* rgb */ color: rgb(98, 111, 178);
/* oklch */ color: oklch(56.1% 0.105 274.2);
Tailwind
colors: {
  custom: {
    50: '#9298c9',
    500: '#626fb2',
    950: '#000000',
  },
}
SCSS
$custom: #626fb2;
$custom-light: #9298c9;
$custom-dark: #000000;
JSON
{
  "hex": "#626fb2",
  "rgb": {
    "r": 98,
    "g": 111,
    "b": 178
  },
  "hsl": {
    "h": 230.25,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56073,
    "c": 0.10496,
    "h": 274.2
  },
  "luminance": 0.1718
}

Semantic roles & 50–950 ramp

primary
#626FB2
secondary
#C9C3A7
accent
#B95ECA
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #626FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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