#6045EF#6045EF

#6045EF is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 53.1% C 0.240 H 281.7°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6045EF
RGBrgb(96, 69, 239)
HSLhsl(250, 84%, 60%)
HSVhsv(250, 71%, 94%)
CMYKcmyk(59.8%, 71.1%, 0%, 6.3%)
CIE-LABlab(42.72, 56.31, -81.42)
CIE-LCHlch(42.72, 99.00, 304.67°)
OKLaboklab(53.08% 0.0487 -0.2347)
OKLCHoklch(53.08% 0.24 281.7)
XYZxyz(22.5271, 12.9734, 82.9617)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6045EF #D4EF45
analogous
#457FEF #6045EF #B545EF
triadic
#6045EF #EF6045 #45EF60
tetradic
#6045EF #EF457F #D4EF45 #45EFB5
square
#6045EF #EF457F #D4EF45 #45EFB5
split-complementary
#6045EF #EFB545 #7FEF45
monochromatic
#280FAB #3514E3 #6045EF #907DF4 #C0B6F9

Accessibility & contrast

On white

5.84
#6045EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6045EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6045EF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6045EF#FFFFFF#000000##FFFFFF
##6045EF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF4
Deuteranopia (green-blind)
#005FEC
Tritanopia (blue-blind)
#007496
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6045ef;
/* rgb */ color: rgb(96, 69, 239);
/* oklch */ color: oklch(53.1% 0.240 281.7);
Tailwind
colors: {
  custom: {
    50: '#9c7cf6',
    500: '#6045ef',
    950: '#000000',
  },
}
SCSS
$custom: #6045ef;
$custom-light: #9c7cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#6045ef",
  "rgb": {
    "r": 96,
    "g": 69,
    "b": 239
  },
  "hsl": {
    "h": 249.529,
    "s": 84.158,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53076,
    "c": 0.23972,
    "h": 281.7
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#6045EF
secondary
#DEE8A7
accent
#E105BE
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6045EF

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

Preview Lab → · Contrast checker → · Palette generator →

#6045EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva