#6266EB#6266EB

#6266EB is a mid, vivid blue. Relative luminance 0.181; OKLCH L 58.0% C 0.196 H 277.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6266EB
RGBrgb(98, 102, 235)
HSLhsl(238, 77%, 65%)
HSVhsv(238, 58%, 92%)
CMYKcmyk(58.3%, 56.6%, 0%, 7.8%)
CIE-LABlab(49.61, 36.60, -67.92)
CIE-LCHlch(49.61, 77.16, 298.32°)
OKLaboklab(58.03% 0.0242 -0.195)
OKLCHoklch(58.03% 0.196 277.1)
XYZxyz(24.7789, 18.0957, 80.7682)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6266EB #EBE762
analogous
#62ABEB #6266EB #A262EB
triadic
#6266EB #EB6266 #66EB62
tetradic
#6266EB #EB62AB #EBE762 #62EBA2
square
#6266EB #EB62AB #EBE762 #62EBA2
split-complementary
#6266EB #EBA262 #ABEB62
monochromatic
#181DBB #2C31E4 #6266EB #989BF2 #CFD0F9

Accessibility & contrast

On white

4.55
#6266EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6266EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6266EB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6266EB#FFFFFF#000000##000000
##6266EB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6266eb;
/* rgb */ color: rgb(98, 102, 235);
/* oklch */ color: oklch(58.0% 0.196 277.1);
Tailwind
colors: {
  custom: {
    50: '#9a91f2',
    500: '#6266eb',
    950: '#000000',
  },
}
SCSS
$custom: #6266eb;
$custom-light: #9a91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6266eb",
  "rgb": {
    "r": 98,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 238.248,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58026,
    "c": 0.19646,
    "h": 277.1
  },
  "luminance": 0.18098
}

Semantic roles & 50–950 ramp

primary
#6266EB
secondary
#EBEABD
accent
#D40CDA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6266EB

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

Preview Lab → · Contrast checker → · Palette generator →

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