#6262DF#6262DF

#6262DF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.4% C 0.186 H 278.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6262DF
RGBrgb(98, 98, 223)
HSLhsl(240, 66%, 63%)
HSVhsv(240, 56%, 87%)
CMYKcmyk(56.1%, 56.1%, 0%, 12.5%)
CIE-LABlab(47.83, 35.19, -64.05)
CIE-LCHlch(47.83, 73.08, 298.79°)
OKLaboklab(56.44% 0.0279 -0.1836)
OKLCHoklch(56.44% 0.186 278.6)
XYZxyz(22.7198, 16.6582, 71.8159)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262DF #DFDF62
analogous
#62A0DF #6262DF #A062DF
triadic
#6262DF #DF6262 #62DF62
tetradic
#6262DF #DF62A0 #DFDF62 #62DFA0
square
#6262DF #DF62A0 #DFDF62 #62DFA0
split-complementary
#6262DF #DFA062 #A0DF62
monochromatic
#2222A5 #2F2FD5 #6262DF #9595E9 #C8C8F4

Accessibility & contrast

On white

4.85
#6262DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6262DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262DF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262DF#FFFFFF#000000##FFFFFF
##6262DF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#1D7F97
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6262df;
/* rgb */ color: rgb(98, 98, 223);
/* oklch */ color: oklch(56.4% 0.186 278.6);
Tailwind
colors: {
  custom: {
    50: '#998eea',
    500: '#6262df',
    950: '#000000',
  },
}
SCSS
$custom: #6262df;
$custom-light: #998eea;
$custom-dark: #000000;
JSON
{
  "hex": "#6262df",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 240,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56436,
    "c": 0.18572,
    "h": 278.6
  },
  "luminance": 0.1666
}

Semantic roles & 50–950 ramp

primary
#6262DF
secondary
#E5E5B8
accent
#CE17CE
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6262DF

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

Preview Lab → · Contrast checker → · Palette generator →

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