#6262F4#6262F4

#6262F4 is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.0% C 0.213 H 277.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6262F4
RGBrgb(98, 98, 244)
HSLhsl(240, 87%, 67%)
HSVhsv(240, 60%, 96%)
CMYKcmyk(59.8%, 59.8%, 0%, 4.3%)
CIE-LABlab(49.33, 41.86, -73.42)
CIE-LCHlch(49.33, 84.52, 299.69°)
OKLaboklab(58.02% 0.0276 -0.2112)
OKLCHoklch(58.02% 0.213 277.5)
XYZxyz(25.7286, 17.8617, 87.6623)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262F4 #F4F462
analogous
#62ABF4 #6262F4 #AB62F4
triadic
#6262F4 #F46262 #62F462
tetradic
#6262F4 #F462AB #F4F462 #62F4AB
square
#6262F4 #F462AB #F4F462 #62F4AB
split-complementary
#6262F4 #F4AB62 #ABF462
monochromatic
#0E0ECD #2929F0 #6262F4 #9B9BF8 #D4D4FC

Accessibility & contrast

On white

4.59
#6262F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6262F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6262F4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262F4#FFFFFF#000000##FFFFFF
##6262F41.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#006FF1
Tritanopia (blue-blind)
#0086A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6262f4;
/* rgb */ color: rgb(98, 98, 244);
/* oklch */ color: oklch(58.0% 0.213 277.5);
Tailwind
colors: {
  custom: {
    50: '#9c8ff9',
    500: '#6262f4',
    950: '#000000',
  },
}
SCSS
$custom: #6262f4;
$custom-light: #9c8ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#6262f4",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 240,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.5802,
    "c": 0.21297,
    "h": 277.5
  },
  "luminance": 0.17864
}

Semantic roles & 50–950 ramp

primary
#6262F4
secondary
#F0F0C2
accent
#E302E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6262F4

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

Preview Lab → · Contrast checker → · Palette generator →

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