#2A57C1#2A57C1

#2A57C1 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.174 H 263.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2A57C1
RGBrgb(42, 87, 193)
HSLhsl(222, 64%, 46%)
HSVhsv(222, 78%, 76%)
CMYKcmyk(78.2%, 54.9%, 0%, 24.3%)
CIE-LABlab(39.84, 23.26, -59.91)
CIE-LCHlch(39.84, 64.26, 291.22°)
OKLaboklab(48.97% -0.0188 -0.1728)
OKLCHoklch(48.97% 0.174 263.8)
XYZxyz(13.9852, 11.1573, 51.8582)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A57C1 #C1942A
analogous
#2AA2C1 #2A57C1 #482AC1
triadic
#2A57C1 #C12A57 #57C12A
tetradic
#2A57C1 #C12AA2 #C1942A #2AC148
square
#2A57C1 #C12AA2 #C1942A #2AC148
split-complementary
#2A57C1 #C1482A #A2C12A
monochromatic
#142A5C #1F408F #2A57C1 #4F78D9 #829FE4

Accessibility & contrast

On white

6.50
#2A57C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2A57C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A57C1
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A57C1#FFFFFF#000000##FFFFFF
##2A57C11.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a57c1;
/* rgb */ color: rgb(42, 87, 193);
/* oklch */ color: oklch(49.0% 0.174 263.8);
Tailwind
colors: {
  custom: {
    50: '#7b85d4',
    500: '#2a57c1',
    950: '#000000',
  },
}
SCSS
$custom: #2a57c1;
$custom-light: #7b85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a57c1",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 193
  },
  "hsl": {
    "h": 222.119,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4897,
    "c": 0.17382,
    "h": 263.8
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#2A57C1
secondary
#CDB47A
accent
#B641E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A57C1

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

Preview Lab → · Contrast checker → · Palette generator →

#2A57C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva