#6057BF#6057BF

#6057BF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.0% C 0.158 H 283.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6057BF
RGBrgb(96, 87, 191)
HSLhsl(245, 45%, 55%)
HSVhsv(245, 54%, 75%)
CMYKcmyk(49.7%, 54.5%, 0%, 25.1%)
CIE-LABlab(42.86, 31.46, -53.71)
CIE-LCHlch(42.86, 62.25, 300.36°)
OKLaboklab(52.02% 0.0364 -0.1533)
OKLCHoklch(52.02% 0.158 283.4)
XYZxyz(17.6332, 13.0639, 50.8726)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6057BF #B6BF57
analogous
#5782BF #6057BF #9457BF
triadic
#6057BF #BF6057 #57BF60
tetradic
#6057BF #BF5782 #B6BF57 #57BF94
square
#6057BF #BF5782 #B6BF57 #57BF94
split-complementary
#6057BF #BF9457 #82BF57
monochromatic
#312B71 #443C9D #6057BF #8A83D0 #B4B0E1

Accessibility & contrast

On white

5.81
#6057BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6057BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6057BF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6057BF#FFFFFF#000000##FFFFFF
##6057BF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C3
Deuteranopia (green-blind)
#1262BD
Tritanopia (blue-blind)
#3D6E82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6057bf;
/* rgb */ color: rgb(96, 87, 191);
/* oklch */ color: oklch(52.0% 0.158 283.4);
Tailwind
colors: {
  custom: {
    50: '#9486d3',
    500: '#6057bf',
    950: '#000000',
  },
}
SCSS
$custom: #6057bf;
$custom-light: #9486d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6057bf",
  "rgb": {
    "r": 96,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 245.192,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.1576,
    "h": 283.4
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#6057BF
secondary
#CBCFA3
accent
#D553C9
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6057BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6057BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva