#6268EA#6268EA

#6268EA is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.3% C 0.193 H 276.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6268EA
RGBrgb(98, 104, 234)
HSLhsl(237, 76%, 65%)
HSVhsv(237, 58%, 92%)
CMYKcmyk(58.1%, 55.6%, 0%, 8.2%)
CIE-LABlab(50.02, 35.08, -66.70)
CIE-LCHlch(50.02, 75.36, 297.74°)
OKLaboklab(58.31% 0.0223 -0.1914)
OKLCHoklch(58.31% 0.193 276.6)
XYZxyz(24.8338, 18.4360, 80.0758)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6268EA #EAE462
analogous
#62ACEA #6268EA #A062EA
triadic
#6268EA #EA6268 #68EA62
tetradic
#6268EA #EA62AC #EAE462 #62EAA0
square
#6268EA #EA62AC #EAE462 #62EAA0
split-complementary
#6268EA #EAA062 #ACEA62
monochromatic
#1920B9 #2C34E3 #6268EA #989CF1 #CED0F8

Accessibility & contrast

On white

4.48
#6268EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#6268EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6268EA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6268EA#FFFFFF#000000##000000
##6268EA1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#00879F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6268ea;
/* rgb */ color: rgb(98, 104, 234);
/* oklch */ color: oklch(58.3% 0.193 276.6);
Tailwind
colors: {
  custom: {
    50: '#9a93f2',
    500: '#6268ea',
    950: '#000000',
  },
}
SCSS
$custom: #6268ea;
$custom-light: #9a93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6268ea",
  "rgb": {
    "r": 98,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 237.353,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.19265,
    "h": 276.6
  },
  "luminance": 0.18438
}

Semantic roles & 50–950 ramp

primary
#6268EA
secondary
#EBE9BD
accent
#D00DD9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6268EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6268EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva