#626DB2#626DB2

#626DB2 is a mid, moderate blue. Relative luminance 0.167; OKLCH L 55.7% C 0.108 H 275.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#626DB2
RGBrgb(98, 109, 178)
HSLhsl(232, 34%, 54%)
HSVhsv(232, 45%, 70%)
CMYKcmyk(44.9%, 38.8%, 0%, 30.2%)
CIE-LABlab(47.94, 14.37, -38.03)
CIE-LCHlch(47.94, 40.65, 290.69°)
OKLaboklab(55.65% 0.0103 -0.1072)
OKLCHoklch(55.65% 0.108 275.5)
XYZxyz(18.5391, 16.7473, 44.3666)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626DB2 #B2A762
analogous
#6295B2 #626DB2 #7F62B2
triadic
#626DB2 #B2626D #6DB262
tetradic
#626DB2 #B26295 #B2A762 #62B27F
square
#626DB2 #B26295 #B2A762 #62B27F
split-complementary
#626DB2 #B27F62 #95B262
monochromatic
#333A67 #475190 #626DB2 #8B93C6 #B4B9DA

Accessibility & contrast

On white

4.83
#626DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#626DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626DB2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626DB2#FFFFFF#000000##FFFFFF
##626DB21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#4D6FB0
Tritanopia (blue-blind)
#467B87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #626db2;
/* rgb */ color: rgb(98, 109, 178);
/* oklch */ color: oklch(55.7% 0.108 275.5);
Tailwind
colors: {
  custom: {
    50: '#9296c9',
    500: '#626db2',
    950: '#000000',
  },
}
SCSS
$custom: #626db2;
$custom-light: #9296c9;
$custom-dark: #000000;
JSON
{
  "hex": "#626db2",
  "rgb": {
    "r": 98,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 231.75,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55654,
    "c": 0.10768,
    "h": 275.5
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#626DB2
secondary
#C9C4A7
accent
#BB5ECA
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #626DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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