#6253EB#6253EB

#6253EB is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.9% C 0.219 H 280.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6253EB
RGBrgb(98, 83, 235)
HSLhsl(246, 79%, 62%)
HSVhsv(246, 65%, 92%)
CMYKcmyk(58.3%, 64.7%, 0%, 7.8%)
CIE-LABlab(45.33, 47.77, -74.89)
CIE-LCHlch(45.33, 88.83, 302.53°)
OKLaboklab(54.88% 0.0411 -0.2155)
OKLCHoklch(54.88% 0.219 280.8)
XYZxyz(23.1209, 14.7797, 80.2156)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6253EB #DCEB53
analogous
#5390EB #6253EB #AE53EB
triadic
#6253EB #EB6253 #53EB62
tetradic
#6253EB #EB5390 #DCEB53 #53EBAE
square
#6253EB #EB5390 #DCEB53 #53EBAE
split-complementary
#6253EB #EBAE53 #90EB53
monochromatic
#2414AF #301CE5 #6253EB #948AF1 #C6C1F8

Accessibility & contrast

On white

5.31
#6253EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6253EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6253EB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6253EB#FFFFFF#000000##FFFFFF
##6253EB1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6253eb;
/* rgb */ color: rgb(98, 83, 235);
/* oklch */ color: oklch(54.9% 0.219 280.8);
Tailwind
colors: {
  custom: {
    50: '#9c84f3',
    500: '#6253eb',
    950: '#000000',
  },
}
SCSS
$custom: #6253eb;
$custom-light: #9c84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6253eb",
  "rgb": {
    "r": 98,
    "g": 83,
    "b": 235
  },
  "hsl": {
    "h": 245.921,
    "s": 79.167,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54884,
    "c": 0.21942,
    "h": 280.8
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#6253EB
secondary
#E3E9B1
accent
#DB0AC7
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6253EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6253EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva