#6253F1#6253F1

#6253F1 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.4% C 0.227 H 280.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6253F1
RGBrgb(98, 83, 241)
HSLhsl(246, 85%, 64%)
HSVhsv(246, 66%, 95%)
CMYKcmyk(59.3%, 65.6%, 0%, 5.5%)
CIE-LABlab(45.81, 49.60, -77.47)
CIE-LCHlch(45.81, 91.99, 302.63°)
OKLaboklab(55.38% 0.0404 -0.2231)
OKLCHoklch(55.38% 0.227 280.3)
XYZxyz(24.0024, 15.1323, 84.8580)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6253F1 #E2F153
analogous
#5393F1 #6253F1 #B153F1
triadic
#6253F1 #F16253 #53F162
tetradic
#6253F1 #F15393 #E2F153 #53F1B1
square
#6253F1 #F15393 #E2F153 #53F1B1
split-complementary
#6253F1 #F1B153 #93F153
monochromatic
#1F0FBA #2E1AEC #6253F1 #968CF6 #C9C4FA

Accessibility & contrast

On white

5.22
#6253F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6253F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6253F1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6253F1#FFFFFF#000000##FFFFFF
##6253F11.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F6
Deuteranopia (green-blind)
#0066EE
Tritanopia (blue-blind)
#007C9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6253f1;
/* rgb */ color: rgb(98, 83, 241);
/* oklch */ color: oklch(55.4% 0.227 280.3);
Tailwind
colors: {
  custom: {
    50: '#9d85f7',
    500: '#6253f1',
    950: '#000000',
  },
}
SCSS
$custom: #6253f1;
$custom-light: #9d85f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6253f1",
  "rgb": {
    "r": 98,
    "g": 83,
    "b": 241
  },
  "hsl": {
    "h": 245.696,
    "s": 84.946,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55384,
    "c": 0.22676,
    "h": 280.3
  },
  "luminance": 0.15134
}

Semantic roles & 50–950 ramp

primary
#6253F1
secondary
#E7ECB4
accent
#E104CC
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6253F1

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

Preview Lab → · Contrast checker → · Palette generator →

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