#6266FB#6266FB

#6266FB is a mid, highly saturated blue. Relative luminance 0.191; OKLCH L 59.2% C 0.217 H 276.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6266FB
RGBrgb(98, 102, 251)
HSLhsl(238, 95%, 68%)
HSVhsv(238, 61%, 98%)
CMYKcmyk(61%, 59.4%, 0%, 1.6%)
CIE-LABlab(50.76, 41.72, -74.99)
CIE-LCHlch(50.76, 85.81, 299.09°)
OKLaboklab(59.24% 0.024 -0.2158)
OKLCHoklch(59.24% 0.217 276.3)
XYZxyz(27.1953, 19.0623, 93.4944)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6266FB #FBF762
analogous
#62B3FB #6266FB #AA62FB
triadic
#6266FB #FB6266 #66FB62
tetradic
#6266FB #FB62B3 #FBF762 #62FBAA
square
#6266FB #FB62B3 #FBF762 #62FBAA
split-complementary
#6266FB #FBAA62 #B3FB62
monochromatic
#060BDD #262CF9 #6266FB #9EA0FD #D9DAFE

Accessibility & contrast

On white

4.36
#6266FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#6266FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6266FB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6266FB#FFFFFF#000000##000000
##6266FB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0072F8
Tritanopia (blue-blind)
#008BA7
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6266fb;
/* rgb */ color: rgb(98, 102, 251);
/* oklch */ color: oklch(59.2% 0.217 276.3);
Tailwind
colors: {
  custom: {
    50: '#9d92fe',
    500: '#6266fb',
    950: '#000000',
  },
}
SCSS
$custom: #6266fb;
$custom-light: #9d92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6266fb",
  "rgb": {
    "r": 98,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 238.431,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.21709,
    "h": 276.3
  },
  "luminance": 0.19064
}

Semantic roles & 50–950 ramp

primary
#6266FB
secondary
#F3F2C5
accent
#DF00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100D18
muted
#7F7D86

Preview Lab

Preview with #6266FB

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

Preview Lab → · Contrast checker → · Palette generator →

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