#6078F1#6078F1

#6078F1 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.182 H 271.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6078F1
RGBrgb(96, 120, 241)
HSLhsl(230, 84%, 66%)
HSVhsv(230, 60%, 95%)
CMYKcmyk(60.2%, 50.2%, 0%, 5.5%)
CIE-LABlab(54.31, 27.29, -63.69)
CIE-LCHlch(54.31, 69.29, 293.19°)
OKLaboklab(61.64% 0.0052 -0.1824)
OKLCHoklch(61.64% 0.182 271.6)
XYZxyz(27.4122, 22.2684, 86.0557)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6078F1 #F1D960
analogous
#60C0F1 #6078F1 #9060F1
triadic
#6078F1 #F16078 #78F160
tetradic
#6078F1 #F160C0 #F1D960 #60F190
square
#6078F1 #F160C0 #F1D960 #60F190
split-complementary
#6078F1 #F19060 #C0F160
monochromatic
#112FC5 #2848EC #6078F1 #98A8F6 #D0D8FB

Accessibility & contrast

On white

3.85
#6078F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#6078F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6078F1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6078F1#FFFFFF#000000##000000
##6078F11.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F5
Deuteranopia (green-blind)
#0D7CEE
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6078f1;
/* rgb */ color: rgb(96, 120, 241);
/* oklch */ color: oklch(61.6% 0.182 271.6);
Tailwind
colors: {
  custom: {
    50: '#999ef6',
    500: '#6078f1',
    950: '#000000',
  },
}
SCSS
$custom: #6078f1;
$custom-light: #999ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#6078f1",
  "rgb": {
    "r": 96,
    "g": 120,
    "b": 241
  },
  "hsl": {
    "h": 230.069,
    "s": 83.815,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61642,
    "c": 0.18245,
    "h": 271.6
  },
  "luminance": 0.22271
}

Semantic roles & 50–950 ramp

primary
#6078F1
secondary
#EEE6BF
accent
#BC05E0
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6078F1

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

Preview Lab → · Contrast checker → · Palette generator →

#6078F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva