#6266CA#6266CA

#6266CA is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.7% C 0.152 H 278.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6266CA
RGBrgb(98, 102, 202)
HSLhsl(238, 50%, 59%)
HSVhsv(238, 51%, 79%)
CMYKcmyk(51.5%, 49.5%, 0%, 20.8%)
CIE-LABlab(47.45, 26.11, -52.69)
CIE-LCHlch(47.45, 58.80, 296.36°)
OKLaboklab(55.72% 0.0225 -0.1501)
OKLCHoklch(55.72% 0.152 278.5)
XYZxyz(20.4457, 16.3625, 57.9466)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6266CA #CAC662
analogous
#629ACA #6266CA #9262CA
triadic
#6266CA #CA6266 #66CA62
tetradic
#6266CA #CA629A #CAC662 #62CA92
square
#6266CA #CA629A #CAC662 #62CA92
split-complementary
#6266CA #CA9262 #9ACA62
monochromatic
#2D3085 #3C41B3 #6266CA #9093D9 #BEBFE9

Accessibility & contrast

On white

4.91
#6266CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#6266CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6266CA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6266CA#FFFFFF#000000##FFFFFF
##6266CA1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#2B6DC8
Tritanopia (blue-blind)
#377C8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6266ca;
/* rgb */ color: rgb(98, 102, 202);
/* oklch */ color: oklch(55.7% 0.152 278.5);
Tailwind
colors: {
  custom: {
    50: '#9691db',
    500: '#6266ca',
    950: '#000000',
  },
}
SCSS
$custom: #6266ca;
$custom-light: #9691db;
$custom-dark: #000000;
JSON
{
  "hex": "#6266ca",
  "rgb": {
    "r": 98,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 237.692,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55715,
    "c": 0.15183,
    "h": 278.5
  },
  "luminance": 0.16364
}

Semantic roles & 50–950 ramp

primary
#6266CA
secondary
#D8D7AF
accent
#D44FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6266CA

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

Preview Lab → · Contrast checker → · Palette generator →

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