#6262B8#6262B8

#6262B8 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.8% C 0.132 H 281.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6262B8
RGBrgb(98, 98, 184)
HSLhsl(240, 38%, 55%)
HSVhsv(240, 47%, 72%)
CMYKcmyk(46.7%, 46.7%, 0%, 27.8%)
CIE-LABlab(45.35, 22.99, -45.64)
CIE-LCHlch(45.35, 51.10, 296.73°)
OKLaboklab(53.78% 0.0252 -0.1295)
OKLCHoklch(53.78% 0.132 281)
XYZxyz(18.0538, 14.7918, 47.2419)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262B8 #B8B862
analogous
#628DB8 #6262B8 #8D62B8
triadic
#6262B8 #B86262 #62B862
tetradic
#6262B8 #B8628D #B8B862 #62B88D
square
#6262B8 #B8628D #B8B862 #62B88D
split-complementary
#6262B8 #B88D62 #8DB862
monochromatic
#32326E #454598 #6262B8 #8C8CCB #B6B6DE

Accessibility & contrast

On white

5.30
#6262B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6262B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262B8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262B8#FFFFFF#000000##FFFFFF
##6262B81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6FBB
Deuteranopia (green-blind)
#3968B6
Tritanopia (blue-blind)
#447484
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6262b8;
/* rgb */ color: rgb(98, 98, 184);
/* oklch */ color: oklch(53.8% 0.132 281.0);
Tailwind
colors: {
  custom: {
    50: '#948ece',
    500: '#6262b8',
    950: '#000000',
  },
}
SCSS
$custom: #6262b8;
$custom-light: #948ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6262b8",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 184
  },
  "hsl": {
    "h": 240,
    "s": 37.719,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.13192,
    "h": 281
  },
  "luminance": 0.14793
}

Semantic roles & 50–950 ramp

primary
#6262B8
secondary
#CDCDA9
accent
#CE5ACE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #6262B8

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

Preview Lab → · Contrast checker → · Palette generator →

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