#6262F0#6262F0

#6262F0 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.7% C 0.208 H 277.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6262F0
RGBrgb(98, 98, 240)
HSLhsl(240, 83%, 66%)
HSVhsv(240, 59%, 94%)
CMYKcmyk(59.2%, 59.2%, 0%, 5.9%)
CIE-LABlab(49.03, 40.59, -71.66)
CIE-LCHlch(49.03, 82.36, 299.52°)
OKLaboklab(57.71% 0.0278 -0.206)
OKLCHoklch(57.71% 0.208 277.7)
XYZxyz(25.1278, 17.6214, 84.4983)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262F0 #F0F062
analogous
#62A9F0 #6262F0 #A962F0
triadic
#6262F0 #F06262 #62F062
tetradic
#6262F0 #F062A9 #F0F062 #62F0A9
square
#6262F0 #F062A9 #F0F062 #62F0A9
split-complementary
#6262F0 #F0A962 #A9F062
monochromatic
#1313C5 #2A2AEB #6262F0 #9A9AF5 #D2D2FB

Accessibility & contrast

On white

4.64
#6262F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6262F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6262F0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262F0#FFFFFF#000000##FFFFFF
##6262F01.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#006FED
Tritanopia (blue-blind)
#0085A0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6262f0;
/* rgb */ color: rgb(98, 98, 240);
/* oklch */ color: oklch(57.7% 0.208 277.7);
Tailwind
colors: {
  custom: {
    50: '#9b8ff6',
    500: '#6262f0',
    950: '#000000',
  },
}
SCSS
$custom: #6262f0;
$custom-light: #9b8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#6262f0",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 240,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.20787,
    "h": 277.7
  },
  "luminance": 0.17623
}

Semantic roles & 50–950 ramp

primary
#6262F0
secondary
#EEEEC0
accent
#DF07DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6262F0

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

Preview Lab → · Contrast checker → · Palette generator →

#6262F0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva