#6262F5#6262F5

#6262F5 is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.1% C 0.214 H 277.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6262F5
RGBrgb(98, 98, 245)
HSLhsl(240, 88%, 67%)
HSVhsv(240, 60%, 96%)
CMYKcmyk(60%, 60%, 0%, 3.9%)
CIE-LABlab(49.40, 42.17, -73.86)
CIE-LCHlch(49.40, 85.05, 299.73°)
OKLaboklab(58.1% 0.0276 -0.2125)
OKLCHoklch(58.1% 0.214 277.4)
XYZxyz(25.8808, 17.9226, 88.4641)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262F5 #F5F562
analogous
#62ACF5 #6262F5 #AC62F5
triadic
#6262F5 #F56262 #62F562
tetradic
#6262F5 #F562AC #F5F562 #62F5AC
square
#6262F5 #F562AC #F5F562 #62F5AC
split-complementary
#6262F5 #F5AC62 #ACF562
monochromatic
#0D0DCF #2828F1 #6262F5 #9C9CF9 #D5D5FC

Accessibility & contrast

On white

4.58
#6262F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6262F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6262F5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262F5#FFFFFF#000000##000000
##6262F51.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6262f5;
/* rgb */ color: rgb(98, 98, 245);
/* oklch */ color: oklch(58.1% 0.214 277.4);
Tailwind
colors: {
  custom: {
    50: '#9c8ff9',
    500: '#6262f5',
    950: '#000000',
  },
}
SCSS
$custom: #6262f5;
$custom-light: #9c8ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#6262f5",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 240,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.58098,
    "c": 0.21425,
    "h": 277.4
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#6262F5
secondary
#F1F1C2
accent
#E501E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6262F5

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

Preview Lab → · Contrast checker → · Palette generator →

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