#6253BF#6253BF

#6253BF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.5% C 0.163 H 285.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6253BF
RGBrgb(98, 83, 191)
HSLhsl(248, 46%, 54%)
HSVhsv(248, 57%, 75%)
CMYKcmyk(48.7%, 56.5%, 0%, 25.1%)
CIE-LABlab(42.07, 34.33, -54.98)
CIE-LCHlch(42.07, 64.82, 301.98°)
OKLaboklab(51.47% 0.0435 -0.157)
OKLCHoklch(51.47% 0.163 285.5)
XYZxyz(17.5315, 12.5439, 50.7776)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6253BF #B0BF53
analogous
#537ABF #6253BF #9853BF
triadic
#6253BF #BF6253 #53BF62
tetradic
#6253BF #BF537A #B0BF53 #53BF98
square
#6253BF #BF537A #B0BF53 #53BF98
split-complementary
#6253BF #BF9853 #7ABF53
monochromatic
#33296E #473A9B #6253BF #8B80D0 #B3ACE0

Accessibility & contrast

On white

5.98
#6253BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6253BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6253BF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6253BF#FFFFFF#000000##FFFFFF
##6253BF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C3
Deuteranopia (green-blind)
#0260BD
Tritanopia (blue-blind)
#416B81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6253bf;
/* rgb */ color: rgb(98, 83, 191);
/* oklch */ color: oklch(51.5% 0.163 285.5);
Tailwind
colors: {
  custom: {
    50: '#9584d3',
    500: '#6253bf',
    950: '#000000',
  },
}
SCSS
$custom: #6253bf;
$custom-light: #9584d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6253bf",
  "rgb": {
    "r": 98,
    "g": 83,
    "b": 191
  },
  "hsl": {
    "h": 248.333,
    "s": 45.763,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5147,
    "c": 0.16293,
    "h": 285.5
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#6253BF
secondary
#C8CEA0
accent
#D552C3
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6253BF

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

Preview Lab → · Contrast checker → · Palette generator →

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