#6064F5#6064F5

#6064F5 is a mid, highly saturated blue. Relative luminance 0.182; OKLCH L 58.3% C 0.212 H 276.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6064F5
RGBrgb(96, 100, 245)
HSLhsl(238, 88%, 67%)
HSVhsv(238, 61%, 96%)
CMYKcmyk(60.8%, 59.2%, 0%, 3.9%)
CIE-LABlab(49.73, 40.67, -73.34)
CIE-LCHlch(49.73, 83.86, 299.01°)
OKLaboklab(58.3% 0.0236 -0.211)
OKLCHoklch(58.3% 0.212 276.4)
XYZxyz(25.8571, 18.1917, 88.5172)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6064F5 #F5F160
analogous
#60AFF5 #6064F5 #A760F5
triadic
#6064F5 #F56064 #64F560
tetradic
#6064F5 #F560AF #F5F160 #60F5A7
square
#6064F5 #F560AF #F5F160 #60F5A7
split-complementary
#6064F5 #F5A760 #AFF560
monochromatic
#0D12CE #262CF1 #6064F5 #9A9CF9 #D3D4FC

Accessibility & contrast

On white

4.53
#6064F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#6064F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6064F5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6064F5#FFFFFF#000000##000000
##6064F51.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0070F2
Tritanopia (blue-blind)
#0087A3
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6064f5;
/* rgb */ color: rgb(96, 100, 245);
/* oklch */ color: oklch(58.3% 0.212 276.4);
Tailwind
colors: {
  custom: {
    50: '#9b90f9',
    500: '#6064f5',
    950: '#000000',
  },
}
SCSS
$custom: #6064f5;
$custom-light: #9b90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6064f5",
  "rgb": {
    "r": 96,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 238.389,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.58303,
    "c": 0.21228,
    "h": 276.4
  },
  "luminance": 0.18194
}

Semantic roles & 50–950 ramp

primary
#6064F5
secondary
#F0EFC1
accent
#DF01E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6064F5

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

Preview Lab → · Contrast checker → · Palette generator →

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