#6258CB#6258CB

#6258CB is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.2% C 0.172 H 282.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6258CB
RGBrgb(98, 88, 203)
HSLhsl(245, 53%, 57%)
HSVhsv(245, 57%, 80%)
CMYKcmyk(51.7%, 56.7%, 0%, 20.4%)
CIE-LABlab(44.07, 34.98, -58.70)
CIE-LCHlch(44.07, 68.33, 300.79°)
OKLaboklab(53.21% 0.0381 -0.1679)
OKLCHoklch(53.21% 0.172 282.8)
XYZxyz(19.3029, 13.8868, 58.1516)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258CB #C1CB58
analogous
#5888CB #6258CB #9B58CB
triadic
#6258CB #CB6258 #58CB62
tetradic
#6258CB #CB5888 #C1CB58 #58CB9B
square
#6258CB #CB5888 #C1CB58 #58CB9B
split-complementary
#6258CB #CB9B58 #88CB58
monochromatic
#302881 #4137AF #6258CB #8E87DA #BAB5E8

Accessibility & contrast

On white

5.56
#6258CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6258CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258CB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258CB#FFFFFF#000000##FFFFFF
##6258CB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#387289
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6258cb;
/* rgb */ color: rgb(98, 88, 203);
/* oklch */ color: oklch(53.2% 0.172 282.8);
Tailwind
colors: {
  custom: {
    50: '#9787dc',
    500: '#6258cb',
    950: '#000000',
  },
}
SCSS
$custom: #6258cb;
$custom-light: #9787dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6258cb",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 245.217,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53213,
    "c": 0.17219,
    "h": 282.8
  },
  "luminance": 0.13888
}

Semantic roles & 50–950 ramp

primary
#6258CB
secondary
#D3D7A8
accent
#DC4CCF
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6258CB

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

Preview Lab → · Contrast checker → · Palette generator →

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