#6266DF#6266DF

#6266DF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.2% C 0.181 H 277.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6266DF
RGBrgb(98, 102, 223)
HSLhsl(238, 66%, 63%)
HSVhsv(238, 56%, 87%)
CMYKcmyk(56.1%, 54.3%, 0%, 12.5%)
CIE-LABlab(48.79, 32.77, -62.49)
CIE-LCHlch(48.79, 70.56, 297.67°)
OKLaboklab(57.16% 0.0239 -0.179)
OKLCHoklch(57.16% 0.181 277.6)
XYZxyz(23.1034, 17.4255, 71.9438)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6266DF #DFDB62
analogous
#62A4DF #6266DF #9C62DF
triadic
#6266DF #DF6266 #66DF62
tetradic
#6266DF #DF62A4 #DFDB62 #62DF9C
square
#6266DF #DF62A4 #DFDB62 #62DF9C
split-complementary
#6266DF #DF9C62 #A4DF62
monochromatic
#2226A5 #2F34D5 #6266DF #9598E9 #C8C9F4

Accessibility & contrast

On white

4.68
#6266DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#6266DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6266DF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6266DF#FFFFFF#000000##FFFFFF
##6266DF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1579E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#1B8299
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6266df;
/* rgb */ color: rgb(98, 102, 223);
/* oklch */ color: oklch(57.2% 0.181 277.6);
Tailwind
colors: {
  custom: {
    50: '#9991ea',
    500: '#6266df',
    950: '#000000',
  },
}
SCSS
$custom: #6266df;
$custom-light: #9991ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6266df",
  "rgb": {
    "r": 98,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 238.08,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.18057,
    "h": 277.6
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#6266DF
secondary
#E5E3B8
accent
#C817CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6266DF

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

Preview Lab → · Contrast checker → · Palette generator →

#6266DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva