#626DA2#626DA2

#626DA2 is a mid, moderate blue. Relative luminance 0.161; OKLCH L 54.8% C 0.084 H 274.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#626DA2
RGBrgb(98, 109, 162)
HSLhsl(230, 26%, 51%)
HSVhsv(230, 40%, 64%)
CMYKcmyk(39.5%, 32.7%, 0%, 36.5%)
CIE-LABlab(47.16, 9.61, -29.90)
CIE-LCHlch(47.16, 31.41, 287.82°)
OKLaboklab(54.8% 0.0064 -0.0836)
OKLCHoklch(54.8% 0.084 274.4)
XYZxyz(17.0253, 16.1418, 36.3940)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#626DA2 #A29762
analogous
#628DA2 #626DA2 #7762A2
triadic
#626DA2 #A2626D #6DA262
tetradic
#626DA2 #A2628D #A29762 #62A277
square
#626DA2 #A2628D #A29762 #62A277
split-complementary
#626DA2 #A27762 #8DA262
monochromatic
#333956 #4A537D #626DA2 #8891B9 #AFB4D0

Accessibility & contrast

On white

4.97
#626DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#626DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #626DA2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##626DA2#FFFFFF#000000##FFFFFF
##626DA21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A4
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#4E7780
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #626da2;
/* rgb */ color: rgb(98, 109, 162);
/* oklch */ color: oklch(54.8% 0.084 274.4);
Tailwind
colors: {
  custom: {
    50: '#9196bd',
    500: '#626da2',
    950: '#000000',
  },
}
SCSS
$custom: #626da2;
$custom-light: #9196bd;
$custom-dark: #000000;
JSON
{
  "hex": "#626da2",
  "rgb": {
    "r": 98,
    "g": 109,
    "b": 162
  },
  "hsl": {
    "h": 229.688,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.08384,
    "h": 274.4
  },
  "luminance": 0.16143
}

Semantic roles & 50–950 ramp

primary
#626DA2
secondary
#BEB9A2
accent
#B266C2
background
#F9F9FB
surface
#F1F2F6
border
#CBCCD0
text
#0D0D12
muted
#7E7E81

Preview Lab

Preview with #626DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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