#6266DD#6266DD

#6266DD is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.0% C 0.178 H 277.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6266DD
RGBrgb(98, 102, 221)
HSLhsl(238, 64%, 63%)
HSVhsv(238, 56%, 87%)
CMYKcmyk(55.7%, 53.8%, 0%, 13.3%)
CIE-LABlab(48.66, 32.13, -61.57)
CIE-LCHlch(48.66, 69.45, 297.56°)
OKLaboklab(57.01% 0.0238 -0.1763)
OKLCHoklch(57.01% 0.178 277.7)
XYZxyz(22.8354, 17.3183, 70.5321)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6266DD #DDD962
analogous
#62A3DD #6266DD #9C62DD
triadic
#6266DD #DD6266 #66DD62
tetradic
#6266DD #DD62A3 #DDD962 #62DD9C
square
#6266DD #DD62A3 #DDD962 #62DD9C
split-complementary
#6266DD #DD9C62 #A3DD62
monochromatic
#2327A2 #3035D2 #6266DD #9497E8 #C7C8F3

Accessibility & contrast

On white

4.70
#6266DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6266DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6266DD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6266DD#FFFFFF#000000##FFFFFF
##6266DD1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A79E1
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#1F8198
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6266dd;
/* rgb */ color: rgb(98, 102, 221);
/* oklch */ color: oklch(57.0% 0.178 277.7);
Tailwind
colors: {
  custom: {
    50: '#9891e8',
    500: '#6266dd',
    950: '#000000',
  },
}
SCSS
$custom: #6266dd;
$custom-light: #9891e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6266dd",
  "rgb": {
    "r": 98,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 238.049,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.17788,
    "h": 277.7
  },
  "luminance": 0.1732
}

Semantic roles & 50–950 ramp

primary
#6266DD
secondary
#E4E2B7
accent
#C619CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6266DD

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

Preview Lab → · Contrast checker → · Palette generator →

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