#6262BD#6262BD

#6262BD is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.1% C 0.139 H 280.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6262BD
RGBrgb(98, 98, 189)
HSLhsl(240, 41%, 56%)
HSVhsv(240, 48%, 74%)
CMYKcmyk(48.1%, 48.1%, 0%, 25.9%)
CIE-LABlab(45.64, 24.53, -48.07)
CIE-LCHlch(45.64, 53.97, 297.03°)
OKLaboklab(54.1% 0.0258 -0.1366)
OKLCHoklch(54.1% 0.139 280.7)
XYZxyz(18.5872, 15.0052, 50.0511)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262BD #BDBD62
analogous
#6290BD #6262BD #9062BD
triadic
#6262BD #BD6262 #62BD62
tetradic
#6262BD #BD6290 #BDBD62 #62BD90
square
#6262BD #BD6290 #BDBD62 #62BD90
split-complementary
#6262BD #BD9062 #90BD62
monochromatic
#313174 #43439F #6262BD #8D8DCF #B8B8E1

Accessibility & contrast

On white

5.25
#6262BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6262BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262BD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262BD#FFFFFF#000000##FFFFFF
##6262BD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C0
Deuteranopia (green-blind)
#3469BB
Tritanopia (blue-blind)
#417586
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6262bd;
/* rgb */ color: rgb(98, 98, 189);
/* oklch */ color: oklch(54.1% 0.139 280.7);
Tailwind
colors: {
  custom: {
    50: '#948ed1',
    500: '#6262bd',
    950: '#000000',
  },
}
SCSS
$custom: #6262bd;
$custom-light: #948ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6262bd",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.13906,
    "h": 280.7
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

primary
#6262BD
secondary
#D0D0AB
accent
#D157D1
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6262BD

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

Preview Lab → · Contrast checker → · Palette generator →

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