#2A57C3#2A57C3

#2A57C3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.176 H 263.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2A57C3
RGBrgb(42, 87, 195)
HSLhsl(222, 65%, 46%)
HSVhsv(222, 78%, 76%)
CMYKcmyk(78.5%, 55.4%, 0%, 23.5%)
CIE-LABlab(39.99, 24.02, -60.83)
CIE-LCHlch(39.99, 65.40, 291.55°)
OKLaboklab(49.13% -0.0187 -0.1755)
OKLCHoklch(49.13% 0.177 263.9)
XYZxyz(14.2099, 11.2471, 53.0412)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A57C3 #C3962A
analogous
#2AA4C3 #2A57C3 #4A2AC3
triadic
#2A57C3 #C32A57 #57C32A
tetradic
#2A57C3 #C32AA4 #C3962A #2AC34A
square
#2A57C3 #C32AA4 #C3962A #2AC34A
split-complementary
#2A57C3 #C34A2A #A4C32A
monochromatic
#142A5E #1F4191 #2A57C3 #5179D9 #83A0E4

Accessibility & contrast

On white

6.46
#2A57C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2A57C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A57C3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A57C3#FFFFFF#000000##FFFFFF
##2A57C31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2a57c3;
/* rgb */ color: rgb(42, 87, 195);
/* oklch */ color: oklch(49.1% 0.176 263.9);
Tailwind
colors: {
  custom: {
    50: '#7b85d6',
    500: '#2a57c3',
    950: '#000000',
  },
}
SCSS
$custom: #2a57c3;
$custom-light: #7b85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a57c3",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 195
  },
  "hsl": {
    "h": 222.353,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4913,
    "c": 0.1765,
    "h": 263.9
  },
  "luminance": 0.11249
}

Semantic roles & 50–950 ramp

primary
#2A57C3
secondary
#CDB57B
accent
#B640E8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A57C3

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

Preview Lab → · Contrast checker → · Palette generator →

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