#6262FB#6262FB

#6262FB is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.6% C 0.222 H 277.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6262FB
RGBrgb(98, 98, 251)
HSLhsl(240, 95%, 68%)
HSVhsv(240, 61%, 98%)
CMYKcmyk(61%, 61%, 0%, 1.6%)
CIE-LABlab(49.85, 44.07, -76.47)
CIE-LCHlch(49.85, 88.26, 299.96°)
OKLaboklab(58.57% 0.0273 -0.2201)
OKLCHoklch(58.57% 0.222 277.1)
XYZxyz(26.8116, 18.2950, 93.3665)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262FB #FBFB62
analogous
#62AEFB #6262FB #AE62FB
triadic
#6262FB #FB6262 #62FB62
tetradic
#6262FB #FB62AE #FBFB62 #62FBAE
square
#6262FB #FB62AE #FBFB62 #62FBAE
split-complementary
#6262FB #FBAE62 #AEFB62
monochromatic
#0606DD #2626F9 #6262FB #9E9EFD #D9D9FE

Accessibility & contrast

On white

4.51
#6262FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#6262FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6262FB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262FB#FFFFFF#000000##000000
##6262FB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0070F8
Tritanopia (blue-blind)
#0088A5
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6262fb;
/* rgb */ color: rgb(98, 98, 251);
/* oklch */ color: oklch(58.6% 0.222 277.1);
Tailwind
colors: {
  custom: {
    50: '#9d8ffe',
    500: '#6262fb',
    950: '#000000',
  },
}
SCSS
$custom: #6262fb;
$custom-light: #9d8ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#6262fb",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 240,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.58569,
    "c": 0.22182,
    "h": 277.1
  },
  "luminance": 0.18297
}

Semantic roles & 50–950 ramp

primary
#6262FB
secondary
#F3F3C5
accent
#E600E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6262FB

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

Preview Lab → · Contrast checker → · Palette generator →

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