#3A57CF#3A57CF

#3A57CF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.8% C 0.188 H 268.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#3A57CF
RGBrgb(58, 87, 207)
HSLhsl(228, 61%, 52%)
HSVhsv(228, 72%, 81%)
CMYKcmyk(72%, 58%, 0%, 18.8%)
CIE-LABlab(41.56, 30.31, -65.19)
CIE-LCHlch(41.56, 71.89, 294.94°)
OKLaboklab(50.78% -0.0051 -0.188)
OKLCHoklch(50.78% 0.188 268.5)
XYZxyz(16.4117, 12.2192, 60.5130)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57CF #CFB23A
analogous
#3AA2CF #3A57CF #683ACF
triadic
#3A57CF #CF3A57 #57CF3A
tetradic
#3A57CF #CF3AA2 #CFB23A #3ACF68
square
#3A57CF #CF3AA2 #CFB23A #3ACF68
split-complementary
#3A57CF #CF683A #A2CF3A
monochromatic
#1C2D73 #2840A4 #3A57CF #6B81DB #9CABE7

Accessibility & contrast

On white

6.10
#3A57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3A57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57CF
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57CF#FFFFFF#000000##FFFFFF
##3A57CF1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a57cf;
/* rgb */ color: rgb(58, 87, 207);
/* oklch */ color: oklch(50.8% 0.188 268.5);
Tailwind
colors: {
  custom: {
    50: '#8486df',
    500: '#3a57cf',
    950: '#000000',
  },
}
SCSS
$custom: #3a57cf;
$custom-light: #8486df;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57cf",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 228.322,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50776,
    "c": 0.18811,
    "h": 268.5
  },
  "luminance": 0.12221
}

Semantic roles & 50–950 ramp

primary
#3A57CF
secondary
#D3C692
accent
#C544E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A57CF

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

Preview Lab → · Contrast checker → · Palette generator →

#3A57CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva