#6262F2#6262F2

#6262F2 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 57.9% C 0.210 H 277.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6262F2
RGBrgb(98, 98, 242)
HSLhsl(240, 85%, 67%)
HSVhsv(240, 60%, 95%)
CMYKcmyk(59.5%, 59.5%, 0%, 5.1%)
CIE-LABlab(49.18, 41.22, -72.55)
CIE-LCHlch(49.18, 83.44, 299.61°)
OKLaboklab(57.87% 0.0277 -0.2086)
OKLCHoklch(57.87% 0.21 277.6)
XYZxyz(25.4265, 17.7409, 86.0716)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262F2 #F2F262
analogous
#62AAF2 #6262F2 #AA62F2
triadic
#6262F2 #F26262 #62F262
tetradic
#6262F2 #F262AA #F2F262 #62F2AA
square
#6262F2 #F262AA #F2F262 #62F2AA
split-complementary
#6262F2 #F2AA62 #AAF262
monochromatic
#1111C9 #2929ED #6262F2 #9B9BF7 #D3D3FB

Accessibility & contrast

On white

4.62
#6262F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#6262F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6262F2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262F2#FFFFFF#000000##FFFFFF
##6262F21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#0085A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6262f2;
/* rgb */ color: rgb(98, 98, 242);
/* oklch */ color: oklch(57.9% 0.210 277.6);
Tailwind
colors: {
  custom: {
    50: '#9c8ff7',
    500: '#6262f2',
    950: '#000000',
  },
}
SCSS
$custom: #6262f2;
$custom-light: #9c8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#6262f2",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.57865,
    "c": 0.21043,
    "h": 277.6
  },
  "luminance": 0.17743
}

Semantic roles & 50–950 ramp

primary
#6262F2
secondary
#EFEFC1
accent
#E104E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6262F2

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

Preview Lab → · Contrast checker → · Palette generator →

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