#6268EC#6268EC

#6268EC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.5% C 0.195 H 276.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6268EC
RGBrgb(98, 104, 236)
HSLhsl(237, 78%, 65%)
HSVhsv(237, 58%, 93%)
CMYKcmyk(58.5%, 55.9%, 0%, 7.5%)
CIE-LABlab(50.16, 35.72, -67.60)
CIE-LCHlch(50.16, 76.45, 297.85°)
OKLaboklab(58.45% 0.0223 -0.194)
OKLCHoklch(58.45% 0.195 276.6)
XYZxyz(25.1228, 18.5516, 81.5975)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6268EC #ECE662
analogous
#62ADEC #6268EC #A162EC
triadic
#6268EC #EC6268 #68EC62
tetradic
#6268EC #EC62AD #ECE662 #62ECA1
square
#6268EC #EC62AD #ECE662 #62ECA1
split-complementary
#6268EC #ECA162 #ADEC62
monochromatic
#171EBD #2B33E5 #6268EC #999DF3 #CFD1F9

Accessibility & contrast

On white

4.46
#6268EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6268EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6268EC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6268EC#FFFFFF#000000##000000
##6268EC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#0087A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6268ec;
/* rgb */ color: rgb(98, 104, 236);
/* oklch */ color: oklch(58.5% 0.195 276.6);
Tailwind
colors: {
  custom: {
    50: '#9a93f3',
    500: '#6268ec',
    950: '#000000',
  },
}
SCSS
$custom: #6268ec;
$custom-light: #9a93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6268ec",
  "rgb": {
    "r": 98,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 237.391,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58454,
    "c": 0.19528,
    "h": 276.6
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#6268EC
secondary
#ECEABE
accent
#D20BDB
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6268EC

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

Preview Lab → · Contrast checker → · Palette generator →

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