#6255DE#6255DE

#6255DE is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.1% C 0.201 H 281.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6255DE
RGBrgb(98, 85, 222)
HSLhsl(246, 67%, 60%)
HSVhsv(246, 62%, 87%)
CMYKcmyk(55.9%, 61.7%, 0%, 12.9%)
CIE-LABlab(44.75, 42.62, -68.47)
CIE-LCHlch(44.75, 80.65, 301.90°)
OKLaboklab(54.15% 0.0405 -0.1967)
OKLCHoklch(54.15% 0.201 281.6)
XYZxyz(21.4662, 14.3662, 70.7349)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6255DE #D1DE55
analogous
#558DDE #6255DE #A655DE
triadic
#6255DE #DE6255 #55DE62
tetradic
#6255DE #DE558D #D1DE55 #55DEA6
square
#6255DE #DE558D #D1DE55 #55DEA6
split-complementary
#6255DE #DEA655 #8DDE55
monochromatic
#2A1E9B #3828CE #6255DE #9188E8 #C1BCF2

Accessibility & contrast

On white

5.42
#6255DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6255DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6255DE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6255DE#FFFFFF#000000##FFFFFF
##6255DE1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#227692
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6255de;
/* rgb */ color: rgb(98, 85, 222);
/* oklch */ color: oklch(54.1% 0.201 281.6);
Tailwind
colors: {
  custom: {
    50: '#9985e9',
    500: '#6255de',
    950: '#000000',
  },
}
SCSS
$custom: #6255de;
$custom-light: #9985e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6255de",
  "rgb": {
    "r": 98,
    "g": 85,
    "b": 222
  },
  "hsl": {
    "h": 245.693,
    "s": 67.488,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54148,
    "c": 0.2008,
    "h": 281.6
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#6255DE
secondary
#DDE2AD
accent
#CF16BE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6255DE

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

Preview Lab → · Contrast checker → · Palette generator →

#6255DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva