#6062F2#6062F2

#6062F2 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.7% C 0.211 H 276.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6062F2
RGBrgb(96, 98, 242)
HSLhsl(239, 85%, 66%)
HSVhsv(239, 60%, 95%)
CMYKcmyk(60.3%, 59.5%, 0%, 5.1%)
CIE-LABlab(49.05, 40.90, -72.77)
CIE-LCHlch(49.05, 83.48, 299.34°)
OKLaboklab(57.73% 0.0254 -0.2093)
OKLCHoklch(57.73% 0.211 276.9)
XYZxyz(25.2134, 17.6310, 86.0616)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062F2 #F2F060
analogous
#60ABF2 #6062F2 #A760F2
triadic
#6062F2 #F26062 #62F260
tetradic
#6062F2 #F260AB #F2F060 #60F2A7
square
#6062F2 #F260AB #F2F060 #60F2A7
split-complementary
#6062F2 #F2A760 #ABF260
monochromatic
#1013C7 #272AED #6062F2 #999AF7 #D1D2FB

Accessibility & contrast

On white

4.64
#6062F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#6062F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6062F2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062F2#FFFFFF#000000##FFFFFF
##6062F21.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#0085A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6062f2;
/* rgb */ color: rgb(96, 98, 242);
/* oklch */ color: oklch(57.7% 0.211 276.9);
Tailwind
colors: {
  custom: {
    50: '#9b8ff7',
    500: '#6062f2',
    950: '#000000',
  },
}
SCSS
$custom: #6062f2;
$custom-light: #9b8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#6062f2",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 239.178,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.57731,
    "c": 0.21085,
    "h": 276.9
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

primary
#6062F2
secondary
#EFEEBF
accent
#DE04E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6062F2

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

Preview Lab → · Contrast checker → · Palette generator →

#6062F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva