#6266F2#6266F2

#6266F2 is a mid, highly saturated blue. Relative luminance 0.185; OKLCH L 58.5% C 0.206 H 276.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6266F2
RGBrgb(98, 102, 242)
HSLhsl(238, 85%, 67%)
HSVhsv(238, 60%, 95%)
CMYKcmyk(59.5%, 57.9%, 0%, 5.1%)
CIE-LABlab(50.11, 38.84, -71.04)
CIE-LCHlch(50.11, 80.96, 298.67°)
OKLaboklab(58.55% 0.0241 -0.2041)
OKLCHoklch(58.55% 0.206 276.7)
XYZxyz(25.8102, 18.5083, 86.1995)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6266F2 #F2EE62
analogous
#62AEF2 #6266F2 #A662F2
triadic
#6266F2 #F26266 #66F262
tetradic
#6266F2 #F262AE #F2EE62 #62F2A6
square
#6266F2 #F262AE #F2EE62 #62F2A6
split-complementary
#6266F2 #F2A662 #AEF262
monochromatic
#1116C9 #292FED #6266F2 #9B9DF7 #D3D4FB

Accessibility & contrast

On white

4.47
#6266F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#6266F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6266F2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6266F2#FFFFFF#000000##000000
##6266F21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#0088A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6266f2;
/* rgb */ color: rgb(98, 102, 242);
/* oklch */ color: oklch(58.5% 0.206 276.7);
Tailwind
colors: {
  custom: {
    50: '#9b91f7',
    500: '#6266f2',
    950: '#000000',
  },
}
SCSS
$custom: #6266f2;
$custom-light: #9b91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6266f2",
  "rgb": {
    "r": 98,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 238.333,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.20556,
    "h": 276.7
  },
  "luminance": 0.1851
}

Semantic roles & 50–950 ramp

primary
#6266F2
secondary
#EFEEC1
accent
#DB04E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6266F2

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

Preview Lab → · Contrast checker → · Palette generator →

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