#6258BF#6258BF

#6258BF is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.156 H 284.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6258BF
RGBrgb(98, 88, 191)
HSLhsl(246, 45%, 55%)
HSVhsv(246, 54%, 75%)
CMYKcmyk(48.7%, 53.9%, 0%, 25.1%)
CIE-LABlab(43.27, 31.29, -53.05)
CIE-LCHlch(43.27, 61.59, 300.53°)
OKLaboklab(52.36% 0.0378 -0.1513)
OKLCHoklch(52.36% 0.156 284)
XYZxyz(17.9279, 13.3368, 50.9097)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258BF #B5BF58
analogous
#5882BF #6258BF #9558BF
triadic
#6258BF #BF6258 #58BF62
tetradic
#6258BF #BF5882 #B5BF58 #58BF95
square
#6258BF #BF5882 #B5BF58 #58BF95
split-complementary
#6258BF #BF9558 #82BF58
monochromatic
#322B71 #463C9D #6258BF #8C84D0 #B5B0E1

Accessibility & contrast

On white

5.73
#6258BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6258BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258BF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258BF#FFFFFF#000000##FFFFFF
##6258BF1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#1A63BD
Tritanopia (blue-blind)
#416F83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6258bf;
/* rgb */ color: rgb(98, 88, 191);
/* oklch */ color: oklch(52.4% 0.156 284.0);
Tailwind
colors: {
  custom: {
    50: '#9587d3',
    500: '#6258bf',
    950: '#000000',
  },
}
SCSS
$custom: #6258bf;
$custom-light: #9587d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6258bf",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 245.825,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.15596,
    "h": 284
  },
  "luminance": 0.13338
}

Semantic roles & 50–950 ramp

primary
#6258BF
secondary
#CBCFA4
accent
#D454C8
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6258BF

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

Preview Lab → · Contrast checker → · Palette generator →

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