#6054DB#6054DB

#6054DB is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.6% C 0.199 H 281.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6054DB
RGBrgb(96, 84, 219)
HSLhsl(245, 65%, 59%)
HSVhsv(245, 62%, 86%)
CMYKcmyk(56.2%, 61.6%, 0%, 14.1%)
CIE-LABlab(44.15, 41.94, -67.75)
CIE-LCHlch(44.15, 79.68, 301.76°)
OKLaboklab(53.6% 0.0391 -0.1946)
OKLCHoklch(53.6% 0.199 281.4)
XYZxyz(20.7764, 13.9406, 68.6001)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6054DB #CFDB54
analogous
#548CDB #6054DB #A354DB
triadic
#6054DB #DB6054 #54DB60
tetradic
#6054DB #DB548C #CFDB54 #54DBA3
square
#6054DB #DB548C #CFDB54 #54DBA3
split-complementary
#6054DB #DBA354 #8CDB54
monochromatic
#2A1F95 #382AC8 #6054DB #8F87E6 #BEB9F0

Accessibility & contrast

On white

5.54
#6054DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6054DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6054DB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6054DB#FFFFFF#000000##FFFFFF
##6054DB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#1F7590
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6054db;
/* rgb */ color: rgb(96, 84, 219);
/* oklch */ color: oklch(53.6% 0.199 281.4);
Tailwind
colors: {
  custom: {
    50: '#9885e7',
    500: '#6054db',
    950: '#000000',
  },
}
SCSS
$custom: #6054db;
$custom-light: #9885e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6054db",
  "rgb": {
    "r": 96,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 245.333,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53595,
    "c": 0.19852,
    "h": 281.4
  },
  "luminance": 0.13942
}

Semantic roles & 50–950 ramp

primary
#6054DB
secondary
#DBE0AB
accent
#E840D9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6054DB

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

Preview Lab → · Contrast checker → · Palette generator →

#6054DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva