#6145EF#6145EF

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

Color values

HEX#6145EF
RGBrgb(97, 69, 239)
HSLhsl(250, 84%, 60%)
HSVhsv(250, 71%, 94%)
CMYKcmyk(59.4%, 71.1%, 0%, 6.3%)
CIE-LABlab(42.81, 56.44, -81.29)
CIE-LCHlch(42.81, 98.96, 304.77°)
OKLaboklab(53.15% 0.05 -0.2343)
OKLCHoklch(53.15% 0.24 282)
XYZxyz(22.6330, 13.0281, 82.9666)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6145EF #D3EF45
analogous
#457EEF #6145EF #B645EF
triadic
#6145EF #EF6145 #45EF61
tetradic
#6145EF #EF457E #D3EF45 #45EFB6
square
#6145EF #EF457E #D3EF45 #45EFB6
split-complementary
#6145EF #EFB645 #7EEF45
monochromatic
#280FAB #3614E3 #6145EF #917DF4 #C1B6F9

Accessibility & contrast

On white

5.82
#6145EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6145EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6145EF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6145EF#FFFFFF#000000##FFFFFF
##6145EF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.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: #6145ef;
/* rgb */ color: rgb(97, 69, 239);
/* oklch */ color: oklch(53.2% 0.240 282.0);
Tailwind
colors: {
  custom: {
    50: '#9d7cf6',
    500: '#6145ef',
    950: '#000000',
  },
}
SCSS
$custom: #6145ef;
$custom-light: #9d7cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#6145ef",
  "rgb": {
    "r": 97,
    "g": 69,
    "b": 239
  },
  "hsl": {
    "h": 249.882,
    "s": 84.158,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53154,
    "c": 0.23958,
    "h": 282
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6145EF

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

Preview Lab → · Contrast checker → · Palette generator →

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