#3A57CB#3A57CB

#3A57CB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.183 H 268.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#3A57CB
RGBrgb(58, 87, 203)
HSLhsl(228, 58%, 51%)
HSVhsv(228, 71%, 80%)
CMYKcmyk(71.4%, 57.1%, 0%, 20.4%)
CIE-LABlab(41.26, 28.87, -63.38)
CIE-LCHlch(41.26, 69.64, 294.49°)
OKLaboklab(50.45% -0.0052 -0.1827)
OKLCHoklch(50.45% 0.183 268.4)
XYZxyz(15.9289, 12.0261, 57.9701)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57CB #CBAE3A
analogous
#3A9FCB #3A57CB #653ACB
triadic
#3A57CB #CB3A57 #57CB3A
tetradic
#3A57CB #CB3A9F #CBAE3A #3ACB65
square
#3A57CB #CB3A9F #CBAE3A #3ACB65
split-complementary
#3A57CB #CB653A #9FCB3A
monochromatic
#1D2D6E #2A419E #3A57CB #6A80D8 #9BAAE5

Accessibility & contrast

On white

6.17
#3A57CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3A57CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57CB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57CB#FFFFFF#000000##FFFFFF
##3A57CB1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a57cb;
/* rgb */ color: rgb(58, 87, 203);
/* oklch */ color: oklch(50.5% 0.183 268.4);
Tailwind
colors: {
  custom: {
    50: '#8386dc',
    500: '#3a57cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a57cb;
$custom-light: #8386dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57cb",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 228,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50453,
    "c": 0.18279,
    "h": 268.4
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#3A57CB
secondary
#D0C490
accent
#C246E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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