#6262F3#6262F3

#6262F3 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 57.9% C 0.212 H 277.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6262F3
RGBrgb(98, 98, 243)
HSLhsl(240, 86%, 67%)
HSVhsv(240, 60%, 95%)
CMYKcmyk(59.7%, 59.7%, 0%, 4.7%)
CIE-LABlab(49.25, 41.54, -72.98)
CIE-LCHlch(49.25, 83.98, 299.65°)
OKLaboklab(57.94% 0.0277 -0.2099)
OKLCHoklch(57.94% 0.212 277.5)
XYZxyz(25.5771, 17.8012, 86.8648)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262F3 #F3F362
analogous
#62ABF3 #6262F3 #AB62F3
triadic
#6262F3 #F36262 #62F362
tetradic
#6262F3 #F362AB #F3F362 #62F3AB
square
#6262F3 #F362AB #F3F362 #62F3AB
split-complementary
#6262F3 #F3AB62 #ABF362
monochromatic
#1010CB #2929EF #6262F3 #9B9BF7 #D4D4FC

Accessibility & contrast

On white

4.60
#6262F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6262F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6262F3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262F3#FFFFFF#000000##FFFFFF
##6262F31.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6262f3;
/* rgb */ color: rgb(98, 98, 243);
/* oklch */ color: oklch(57.9% 0.212 277.5);
Tailwind
colors: {
  custom: {
    50: '#9c8ff8',
    500: '#6262f3',
    950: '#000000',
  },
}
SCSS
$custom: #6262f3;
$custom-light: #9c8ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#6262f3",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 243
  },
  "hsl": {
    "h": 240,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.57942,
    "c": 0.21171,
    "h": 277.5
  },
  "luminance": 0.17803
}

Semantic roles & 50–950 ramp

primary
#6262F3
secondary
#F0F0C1
accent
#E203E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6262F3

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

Preview Lab → · Contrast checker → · Palette generator →

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