#6262BB#6262BB

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

Color values

HEX#6262BB
RGBrgb(98, 98, 187)
HSLhsl(240, 40%, 56%)
HSVhsv(240, 48%, 73%)
CMYKcmyk(47.6%, 47.6%, 0%, 26.7%)
CIE-LABlab(45.52, 23.91, -47.10)
CIE-LCHlch(45.52, 52.82, 296.91°)
OKLaboklab(53.97% 0.0256 -0.1338)
OKLCHoklch(53.97% 0.136 280.8)
XYZxyz(18.3716, 14.9190, 48.9157)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262BB #BBBB62
analogous
#628EBB #6262BB #8E62BB
triadic
#6262BB #BB6262 #62BB62
tetradic
#6262BB #BB628E #BBBB62 #62BB8E
square
#6262BB #BB628E #BBBB62 #62BB8E
split-complementary
#6262BB #BB8E62 #8EBB62
monochromatic
#313171 #44449C #6262BB #8D8DCD #B7B7E0

Accessibility & contrast

On white

5.27
#6262BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6262BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262BB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262BB#FFFFFF#000000##FFFFFF
##6262BB1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#3669B9
Tritanopia (blue-blind)
#427585
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6262bb;
/* rgb */ color: rgb(98, 98, 187);
/* oklch */ color: oklch(54.0% 0.136 280.8);
Tailwind
colors: {
  custom: {
    50: '#948ed0',
    500: '#6262bb',
    950: '#000000',
  },
}
SCSS
$custom: #6262bb;
$custom-light: #948ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6262bb",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.13621,
    "h": 280.8
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6262BB

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

Preview Lab → · Contrast checker → · Palette generator →

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