#6262BC#6262BC

#6262BC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.138 H 280.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6262BC
RGBrgb(98, 98, 188)
HSLhsl(240, 40%, 56%)
HSVhsv(240, 48%, 74%)
CMYKcmyk(47.9%, 47.9%, 0%, 26.3%)
CIE-LABlab(45.58, 24.22, -47.59)
CIE-LCHlch(45.58, 53.40, 296.97°)
OKLaboklab(54.04% 0.0257 -0.1352)
OKLCHoklch(54.04% 0.138 280.8)
XYZxyz(18.4790, 14.9619, 49.4814)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262BC #BCBC62
analogous
#628FBC #6262BC #8F62BC
triadic
#6262BC #BC6262 #62BC62
tetradic
#6262BC #BC628F #BCBC62 #62BC8F
square
#6262BC #BC628F #BCBC62 #62BC8F
split-complementary
#6262BC #BC8F62 #8FBC62
monochromatic
#313173 #43439E #6262BC #8D8DCE #B8B8E1

Accessibility & contrast

On white

5.26
#6262BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6262BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262BC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262BC#FFFFFF#000000##FFFFFF
##6262BC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBF
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#427586
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6262bc;
/* rgb */ color: rgb(98, 98, 188);
/* oklch */ color: oklch(54.0% 0.138 280.8);
Tailwind
colors: {
  custom: {
    50: '#948ed1',
    500: '#6262bc',
    950: '#000000',
  },
}
SCSS
$custom: #6262bc;
$custom-light: #948ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6262bc",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 240,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.13763,
    "h": 280.8
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

primary
#6262BC
secondary
#CFCFAA
accent
#D058D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6262BC

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

Preview Lab → · Contrast checker → · Palette generator →

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