#625EC2#625EC2

#625EC2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.152 H 281.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#625EC2
RGBrgb(98, 94, 194)
HSLhsl(242, 45%, 56%)
HSVhsv(242, 52%, 76%)
CMYKcmyk(49.5%, 51.5%, 0%, 23.9%)
CIE-LABlab(44.94, 28.54, -52.10)
CIE-LCHlch(44.94, 59.41, 298.71°)
OKLaboklab(53.67% 0.031 -0.1485)
OKLCHoklch(53.67% 0.152 281.8)
XYZxyz(18.7744, 14.4961, 52.8372)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#625EC2 #BEC25E
analogous
#5E8CC2 #625EC2 #945EC2
triadic
#625EC2 #C2625E #5EC262
tetradic
#625EC2 #C25E8C #BEC25E #5EC294
square
#625EC2 #C25E8C #BEC25E #5EC294
split-complementary
#625EC2 #C2945E #8CC25E
monochromatic
#302E78 #423EA4 #625EC2 #8D8AD3 #B9B7E4

Accessibility & contrast

On white

5.39
#625EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#625EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #625EC2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##625EC2#FFFFFF#000000##FFFFFF
##625EC21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC6
Deuteranopia (green-blind)
#2567C0
Tritanopia (blue-blind)
#3E7487
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #625ec2;
/* rgb */ color: rgb(98, 94, 194);
/* oklch */ color: oklch(53.7% 0.152 281.8);
Tailwind
colors: {
  custom: {
    50: '#958bd5',
    500: '#625ec2',
    950: '#000000',
  },
}
SCSS
$custom: #625ec2;
$custom-light: #958bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#625ec2",
  "rgb": {
    "r": 98,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 242.4,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53669,
    "c": 0.1517,
    "h": 281.8
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#625EC2
secondary
#D1D2A9
accent
#D553D0
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #625EC2

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

Preview Lab → · Contrast checker → · Palette generator →

#625EC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva