#6670F3#6670F3

#6670F3 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.7% C 0.194 H 275.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6670F3
RGBrgb(102, 112, 243)
HSLhsl(236, 85%, 68%)
HSVhsv(236, 58%, 95%)
CMYKcmyk(58%, 53.9%, 0%, 4.7%)
CIE-LABlab(52.82, 33.85, -67.19)
CIE-LCHlch(52.82, 75.23, 296.74°)
OKLaboklab(60.66% 0.0193 -0.1926)
OKLCHoklch(60.66% 0.194 275.7)
XYZxyz(27.4461, 20.8821, 87.3610)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6670F3 #F3E966
analogous
#66B6F3 #6670F3 #A366F3
triadic
#6670F3 #F36670 #70F366
tetradic
#6670F3 #F366B6 #F3E966 #66F3A3
square
#6670F3 #F366B6 #F3E966 #66F3A3
split-complementary
#6670F3 #F3A366 #B6F366
monochromatic
#101ECE #2D3BEF #6670F3 #9FA5F7 #D7DAFC

Accessibility & contrast

On white

4.06
#6670F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#6670F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6670F3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6670F3#FFFFFF#000000##000000
##6670F31.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1484F8
Deuteranopia (green-blind)
#0078F0
Tritanopia (blue-blind)
#008FA7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6670f3;
/* rgb */ color: rgb(102, 112, 243);
/* oklch */ color: oklch(60.7% 0.194 275.7);
Tailwind
colors: {
  custom: {
    50: '#9d99f8',
    500: '#6670f3',
    950: '#000000',
  },
}
SCSS
$custom: #6670f3;
$custom-light: #9d99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6670f3",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 243
  },
  "hsl": {
    "h": 235.745,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60658,
    "c": 0.19358,
    "h": 275.7
  },
  "luminance": 0.20884
}

Semantic roles & 50–950 ramp

primary
#6670F3
secondary
#F0EDC5
accent
#D204E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6670F3

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

Preview Lab → · Contrast checker → · Palette generator →

#6670F3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva