#6258BC#6258BC

#6258BC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.152 H 284.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6258BC
RGBrgb(98, 88, 188)
HSLhsl(246, 43%, 54%)
HSVhsv(246, 53%, 74%)
CMYKcmyk(47.9%, 53.2%, 0%, 26.3%)
CIE-LABlab(43.07, 30.37, -51.61)
CIE-LCHlch(43.07, 59.89, 300.48°)
OKLaboklab(52.15% 0.0376 -0.1471)
OKLCHoklch(52.15% 0.152 284.4)
XYZxyz(17.6011, 13.2061, 49.1888)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6258BC #B2BC58
analogous
#5880BC #6258BC #9458BC
triadic
#6258BC #BC6258 #58BC62
tetradic
#6258BC #BC5880 #B2BC58 #58BC94
square
#6258BC #BC5880 #B2BC58 #58BC94
split-complementary
#6258BC #BC9458 #80BC58
monochromatic
#332C6E #473E99 #6258BC #8B84CE #B4AFDF

Accessibility & contrast

On white

5.77
#6258BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6258BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6258BC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6258BC#FFFFFF#000000##FFFFFF
##6258BC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569BF
Deuteranopia (green-blind)
#2063BA
Tritanopia (blue-blind)
#436E81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6258bc;
/* rgb */ color: rgb(98, 88, 188);
/* oklch */ color: oklch(52.2% 0.152 284.4);
Tailwind
colors: {
  custom: {
    50: '#9587d1',
    500: '#6258bc',
    950: '#000000',
  },
}
SCSS
$custom: #6258bc;
$custom-light: #9587d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6258bc",
  "rgb": {
    "r": 98,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 246,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52153,
    "c": 0.15183,
    "h": 284.4
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#6258BC
secondary
#C9CDA3
accent
#D355C6
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6258BC

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

Preview Lab → · Contrast checker → · Palette generator →

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