#6064F2#6064F2

#6064F2 is a mid, highly saturated blue. Relative luminance 0.180; OKLCH L 58.1% C 0.208 H 276.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6064F2
RGBrgb(96, 100, 242)
HSLhsl(238, 85%, 66%)
HSVhsv(238, 60%, 95%)
CMYKcmyk(60.3%, 58.7%, 0%, 5.1%)
CIE-LABlab(49.51, 39.71, -72.02)
CIE-LCHlch(49.51, 82.24, 298.87°)
OKLaboklab(58.07% 0.0237 -0.2071)
OKLCHoklch(58.07% 0.208 276.5)
XYZxyz(25.4029, 18.0100, 86.1248)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6064F2 #F2EE60
analogous
#60ADF2 #6064F2 #A560F2
triadic
#6064F2 #F26064 #64F260
tetradic
#6064F2 #F260AD #F2EE60 #60F2A5
square
#6064F2 #F260AD #F2EE60 #60F2A5
split-complementary
#6064F2 #F2A560 #ADF260
monochromatic
#1015C7 #272DED #6064F2 #999BF7 #D1D2FB

Accessibility & contrast

On white

4.56
#6064F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#6064F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6064F2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6064F2#FFFFFF#000000##000000
##6064F21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#0087A1
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6064f2;
/* rgb */ color: rgb(96, 100, 242);
/* oklch */ color: oklch(58.1% 0.208 276.5);
Tailwind
colors: {
  custom: {
    50: '#9b90f7',
    500: '#6064f2',
    950: '#000000',
  },
}
SCSS
$custom: #6064f2;
$custom-light: #9b90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6064f2",
  "rgb": {
    "r": 96,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 238.356,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58072,
    "c": 0.20843,
    "h": 276.5
  },
  "luminance": 0.18012
}

Semantic roles & 50–950 ramp

primary
#6064F2
secondary
#EFEDBF
accent
#DB04E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6064F2

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

Preview Lab → · Contrast checker → · Palette generator →

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