#6253CB#6253CB

#6253CB is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.4% C 0.179 H 284.0°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6253CB
RGBrgb(98, 83, 203)
HSLhsl(248, 54%, 56%)
HSVhsv(248, 59%, 80%)
CMYKcmyk(51.7%, 59.1%, 0%, 20.4%)
CIE-LABlab(42.90, 37.97, -60.58)
CIE-LCHlch(42.90, 71.50, 302.08°)
OKLaboklab(52.35% 0.0434 -0.1735)
OKLCHoklch(52.35% 0.179 284)
XYZxyz(18.9065, 13.0940, 58.0195)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6253CB #BCCB53
analogous
#5380CB #6253CB #9E53CB
triadic
#6253CB #CB6253 #53CB62
tetradic
#6253CB #CB5380 #BCCB53 #53CB9E
square
#6253CB #CB5380 #BCCB53 #53CB9E
split-complementary
#6253CB #CB9E53 #80CB53
monochromatic
#31267E #4334AD #6253CB #8D82D9 #B8B1E7

Accessibility & contrast

On white

5.80
#6253CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6253CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6253CB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6253CB#FFFFFF#000000##FFFFFF
##6253CB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#386F87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6253cb;
/* rgb */ color: rgb(98, 83, 203);
/* oklch */ color: oklch(52.4% 0.179 284.0);
Tailwind
colors: {
  custom: {
    50: '#9784dc',
    500: '#6253cb',
    950: '#000000',
  },
}
SCSS
$custom: #6253cb;
$custom-light: #9784dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6253cb",
  "rgb": {
    "r": 98,
    "g": 83,
    "b": 203
  },
  "hsl": {
    "h": 247.5,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.17885,
    "h": 284
  },
  "luminance": 0.13095
}

Semantic roles & 50–950 ramp

primary
#6253CB
secondary
#CFD6A4
accent
#DD4BCB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6253CB

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

Preview Lab → · Contrast checker → · Palette generator →

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