#6262EF#6262EF

#6262EF is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.6% C 0.207 H 277.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6262EF
RGBrgb(98, 98, 239)
HSLhsl(240, 82%, 66%)
HSVhsv(240, 59%, 94%)
CMYKcmyk(59%, 59%, 0%, 6.3%)
CIE-LABlab(48.96, 40.27, -71.22)
CIE-LCHlch(48.96, 81.82, 299.48°)
OKLaboklab(57.63% 0.0278 -0.2047)
OKLCHoklch(57.63% 0.207 277.7)
XYZxyz(24.9797, 17.5622, 83.7181)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262EF #EFEF62
analogous
#62A8EF #6262EF #A862EF
triadic
#6262EF #EF6262 #62EF62
tetradic
#6262EF #EF62A8 #EFEF62 #62EFA8
square
#6262EF #EF62A8 #EFEF62 #62EFA8
split-complementary
#6262EF #EFA862 #A8EF62
monochromatic
#1414C3 #2A2AE9 #6262EF #9A9AF5 #D1D1FA

Accessibility & contrast

On white

4.65
#6262EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6262EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6262EF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262EF#FFFFFF#000000##FFFFFF
##6262EF1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#006EEC
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6262ef;
/* rgb */ color: rgb(98, 98, 239);
/* oklch */ color: oklch(57.6% 0.207 277.7);
Tailwind
colors: {
  custom: {
    50: '#9b8ff5',
    500: '#6262ef',
    950: '#000000',
  },
}
SCSS
$custom: #6262ef;
$custom-light: #9b8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#6262ef",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 240,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57634,
    "c": 0.20659,
    "h": 277.7
  },
  "luminance": 0.17564
}

Semantic roles & 50–950 ramp

primary
#6262EF
secondary
#EEEEBF
accent
#DE08DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6262EF

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

Preview Lab → · Contrast checker → · Palette generator →

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