#626BB2#626BB2

#626BB2 is a mid, moderate blue. Relative luminance 0.163; OKLCH L 55.2% C 0.110 H 276.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#626BB2
RGBrgb(98, 107, 178)
HSLhsl(233, 34%, 54%)
HSVhsv(233, 45%, 70%)
CMYKcmyk(44.9%, 39.9%, 0%, 30.2%)
CIE-LABlab(47.40, 15.60, -38.89)
CIE-LCHlch(47.40, 41.90, 291.85°)
OKLaboklab(55.24% 0.0128 -0.1097)
OKLCHoklch(55.24% 0.11 276.7)
XYZxyz(18.3281, 16.3255, 44.2962)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626BB2 #B2A962
analogous
#6293B2 #626BB2 #8162B2
triadic
#626BB2 #B2626B #6BB262
tetradic
#626BB2 #B26293 #B2A962 #62B281
square
#626BB2 #B26293 #B2A962 #62B281
split-complementary
#626BB2 #B28162 #93B262
monochromatic
#333867 #474F90 #626BB2 #8B92C6 #B4B8DA

Accessibility & contrast

On white

4.92
#626BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#626BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626BB2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626BB2#FFFFFF#000000##FFFFFF
##626BB21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#477A86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #626bb2;
/* rgb */ color: rgb(98, 107, 178);
/* oklch */ color: oklch(55.2% 0.110 276.7);
Tailwind
colors: {
  custom: {
    50: '#9395c9',
    500: '#626bb2',
    950: '#000000',
  },
}
SCSS
$custom: #626bb2;
$custom-light: #9395c9;
$custom-dark: #000000;
JSON
{
  "hex": "#626bb2",
  "rgb": {
    "r": 98,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 233.25,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55239,
    "c": 0.11044,
    "h": 276.7
  },
  "luminance": 0.16326
}

Semantic roles & 50–950 ramp

primary
#626BB2
secondary
#C9C5A7
accent
#BE5ECA
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #626BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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