#6062F4#6062F4

#6062F4 is a mid, highly saturated blue. Relative luminance 0.178; OKLCH L 57.9% C 0.213 H 276.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6062F4
RGBrgb(96, 98, 244)
HSLhsl(239, 87%, 67%)
HSVhsv(239, 61%, 96%)
CMYKcmyk(60.7%, 59.8%, 0%, 4.3%)
CIE-LABlab(49.19, 41.54, -73.65)
CIE-LCHlch(49.19, 84.55, 299.42°)
OKLaboklab(57.89% 0.0254 -0.2119)
OKLCHoklch(57.89% 0.213 276.8)
XYZxyz(25.5154, 17.7518, 87.6523)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062F4 #F4F260
analogous
#60ACF4 #6062F4 #A860F4
triadic
#6062F4 #F46062 #62F460
tetradic
#6062F4 #F460AC #F4F260 #60F4A8
square
#6062F4 #F460AC #F4F260 #60F4A8
split-complementary
#6062F4 #F4A860 #ACF460
monochromatic
#0E11CC #2729F0 #6062F4 #999BF8 #D2D3FC

Accessibility & contrast

On white

4.61
#6062F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#6062F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6062F4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062F4#FFFFFF#000000##FFFFFF
##6062F41.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF9
Deuteranopia (green-blind)
#006FF1
Tritanopia (blue-blind)
#0086A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6062f4;
/* rgb */ color: rgb(96, 98, 244);
/* oklch */ color: oklch(57.9% 0.213 276.8);
Tailwind
colors: {
  custom: {
    50: '#9b8ff9',
    500: '#6062f4',
    950: '#000000',
  },
}
SCSS
$custom: #6062f4;
$custom-light: #9b8ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#6062f4",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 239.189,
    "s": 87.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.2134,
    "h": 276.8
  },
  "luminance": 0.17754
}

Semantic roles & 50–950 ramp

primary
#6062F4
secondary
#F0EFC0
accent
#E102E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6062F4

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

Preview Lab → · Contrast checker → · Palette generator →

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