#6057CA#6057CA

#6057CA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.172 H 282.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6057CA
RGBrgb(96, 87, 202)
HSLhsl(245, 52%, 57%)
HSVhsv(245, 57%, 79%)
CMYKcmyk(52.5%, 56.9%, 0%, 20.8%)
CIE-LABlab(43.60, 34.87, -58.88)
CIE-LCHlch(43.60, 68.43, 300.63°)
OKLaboklab(52.81% 0.0366 -0.1685)
OKLCHoklch(52.81% 0.172 282.3)
XYZxyz(18.8895, 13.5664, 57.4889)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6057CA #C1CA57
analogous
#5788CA #6057CA #9A57CA
triadic
#6057CA #CA6057 #57CA60
tetradic
#6057CA #CA5788 #C1CA57 #57CA9A
square
#6057CA #CA5788 #C1CA57 #57CA9A
split-complementary
#6057CA #CA9A57 #88CA57
monochromatic
#2F287F #4037AD #6057CA #8C86D9 #B8B4E7

Accessibility & contrast

On white

5.66
#6057CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6057CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6057CA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6057CA#FFFFFF#000000##FFFFFF
##6057CA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#347288
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6057ca;
/* rgb */ color: rgb(96, 87, 202);
/* oklch */ color: oklch(52.8% 0.172 282.3);
Tailwind
colors: {
  custom: {
    50: '#9586db',
    500: '#6057ca',
    950: '#000000',
  },
}
SCSS
$custom: #6057ca;
$custom-light: #9586db;
$custom-dark: #000000;
JSON
{
  "hex": "#6057ca",
  "rgb": {
    "r": 96,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 244.696,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52806,
    "c": 0.17248,
    "h": 282.3
  },
  "luminance": 0.13567
}

Semantic roles & 50–950 ramp

primary
#6057CA
secondary
#D2D6A7
accent
#DB4CD0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6057CA

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

Preview Lab → · Contrast checker → · Palette generator →

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