#6266EF#6266EF

#6266EF is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.3% C 0.202 H 276.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6266EF
RGBrgb(98, 102, 239)
HSLhsl(238, 82%, 66%)
HSVhsv(238, 59%, 94%)
CMYKcmyk(59%, 57.3%, 0%, 6.3%)
CIE-LABlab(49.89, 37.88, -69.71)
CIE-LCHlch(49.89, 79.34, 298.52°)
OKLaboklab(58.32% 0.0242 -0.2002)
OKLCHoklch(58.32% 0.202 276.9)
XYZxyz(25.3633, 18.3295, 83.8460)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6266EF #EFEB62
analogous
#62ACEF #6266EF #A462EF
triadic
#6266EF #EF6266 #66EF62
tetradic
#6266EF #EF62AC #EFEB62 #62EFA4
square
#6266EF #EF62AC #EFEB62 #62EFA4
split-complementary
#6266EF #EFA462 #ACEF62
monochromatic
#1419C3 #2A30E9 #6266EF #9A9CF5 #D1D2FA

Accessibility & contrast

On white

4.50
#6266EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#6266EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6266EF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6266EF#FFFFFF#000000##000000
##6266EF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#0087A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6266ef;
/* rgb */ color: rgb(98, 102, 239);
/* oklch */ color: oklch(58.3% 0.202 276.9);
Tailwind
colors: {
  custom: {
    50: '#9b91f5',
    500: '#6266ef',
    950: '#000000',
  },
}
SCSS
$custom: #6266ef;
$custom-light: #9b91f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6266ef",
  "rgb": {
    "r": 98,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 238.298,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58324,
    "c": 0.20167,
    "h": 276.9
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#6266EF
secondary
#EEECBF
accent
#D808DE
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6266EF

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

Preview Lab → · Contrast checker → · Palette generator →

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