#3A57CA#3A57CA

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

Color values

HEX#3A57CA
RGBrgb(58, 87, 202)
HSLhsl(228, 58%, 51%)
HSVhsv(228, 71%, 79%)
CMYKcmyk(71.3%, 56.9%, 0%, 20.8%)
CIE-LABlab(41.18, 28.51, -62.92)
CIE-LCHlch(41.18, 69.08, 294.37°)
OKLaboklab(50.37% -0.0052 -0.1814)
OKLCHoklch(50.37% 0.181 268.4)
XYZxyz(15.8101, 11.9786, 57.3445)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A57CA #CAAD3A
analogous
#3A9FCA #3A57CA #653ACA
triadic
#3A57CA #CA3A57 #57CA3A
tetradic
#3A57CA #CA3A9F #CAAD3A #3ACA65
square
#3A57CA #CA3A9F #CAAD3A #3ACA65
split-complementary
#3A57CA #CA653A #9FCA3A
monochromatic
#1D2D6C #2A419D #3A57CA #6A80D7 #9AA9E4

Accessibility & contrast

On white

6.18
#3A57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3A57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A57CA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A57CA#FFFFFF#000000##FFFFFF
##3A57CA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a57ca;
/* rgb */ color: rgb(58, 87, 202);
/* oklch */ color: oklch(50.4% 0.181 268.4);
Tailwind
colors: {
  custom: {
    50: '#8386db',
    500: '#3a57ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a57ca;
$custom-light: #8386db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a57ca",
  "rgb": {
    "r": 58,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 227.917,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50372,
    "c": 0.18145,
    "h": 268.4
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#3A57CA
secondary
#D0C390
accent
#C247E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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