#6470F2#6470F2

#6470F2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.5% C 0.193 H 275.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6470F2
RGBrgb(100, 112, 242)
HSLhsl(235, 85%, 67%)
HSVhsv(235, 59%, 95%)
CMYKcmyk(58.7%, 53.7%, 0%, 5.1%)
CIE-LABlab(52.63, 33.17, -66.95)
CIE-LCHlch(52.63, 74.72, 296.36°)
OKLaboklab(60.46% 0.0171 -0.192)
OKLCHoklch(60.46% 0.193 275.1)
XYZxyz(27.0715, 20.7064, 86.5573)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6470F2 #F2E664
analogous
#64B7F2 #6470F2 #9F64F2
triadic
#6470F2 #F26470 #70F264
tetradic
#6470F2 #F264B7 #F2E664 #64F29F
square
#6470F2 #F264B7 #F2E664 #64F29F
split-complementary
#6470F2 #F29F64 #B7F264
monochromatic
#1121CB #2C3CED #6470F2 #9CA4F7 #D5D8FB

Accessibility & contrast

On white

4.08
#6470F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6470F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6470F2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6470F2#FFFFFF#000000##000000
##6470F21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1684F6
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#008EA6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6470f2;
/* rgb */ color: rgb(100, 112, 242);
/* oklch */ color: oklch(60.5% 0.193 275.1);
Tailwind
colors: {
  custom: {
    50: '#9c99f7',
    500: '#6470f2',
    950: '#000000',
  },
}
SCSS
$custom: #6470f2;
$custom-light: #9c99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6470f2",
  "rgb": {
    "r": 100,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 234.93,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60459,
    "c": 0.19273,
    "h": 275.1
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

primary
#6470F2
secondary
#EFECC2
accent
#CE05E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6470F2

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

Preview Lab → · Contrast checker → · Palette generator →

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