#6262BF#6262BF

#6262BF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.2% C 0.142 H 280.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6262BF
RGBrgb(98, 98, 191)
HSLhsl(240, 42%, 57%)
HSVhsv(240, 49%, 75%)
CMYKcmyk(48.7%, 48.7%, 0%, 25.1%)
CIE-LABlab(45.76, 25.14, -49.04)
CIE-LCHlch(45.76, 55.11, 297.14°)
OKLaboklab(54.23% 0.026 -0.1395)
OKLCHoklch(54.23% 0.142 280.6)
XYZxyz(18.8058, 15.0926, 51.2024)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262BF #BFBF62
analogous
#6291BF #6262BF #9162BF
triadic
#6262BF #BF6262 #62BF62
tetradic
#6262BF #BF6291 #BFBF62 #62BF91
square
#6262BF #BF6291 #BFBF62 #62BF91
split-complementary
#6262BF #BF9162 #91BF62
monochromatic
#303076 #4242A2 #6262BF #8D8DD1 #B9B9E2

Accessibility & contrast

On white

5.23
#6262BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6262BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262BF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262BF#FFFFFF#000000##FFFFFF
##6262BF1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C2
Deuteranopia (green-blind)
#3169BD
Tritanopia (blue-blind)
#407687
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6262bf;
/* rgb */ color: rgb(98, 98, 191);
/* oklch */ color: oklch(54.2% 0.142 280.6);
Tailwind
colors: {
  custom: {
    50: '#948ed3',
    500: '#6262bf',
    950: '#000000',
  },
}
SCSS
$custom: #6262bf;
$custom-light: #948ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#6262bf",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5423,
    "c": 0.14189,
    "h": 280.6
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

primary
#6262BF
secondary
#D1D1AB
accent
#D256D2
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #6262BF

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

Preview Lab → · Contrast checker → · Palette generator →

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