#2A57BC#2A57BC

#2A57BC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.167 H 263.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2A57BC
RGBrgb(42, 87, 188)
HSLhsl(222, 63%, 45%)
HSVhsv(222, 78%, 74%)
CMYKcmyk(77.7%, 53.7%, 0%, 26.3%)
CIE-LABlab(39.48, 21.35, -57.59)
CIE-LCHlch(39.48, 61.42, 290.34°)
OKLaboklab(48.58% -0.0192 -0.166)
OKLCHoklch(48.58% 0.167 263.4)
XYZxyz(13.4369, 10.9379, 48.9703)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A57BC #BC8F2A
analogous
#2AA0BC #2A57BC #462ABC
triadic
#2A57BC #BC2A57 #57BC2A
tetradic
#2A57BC #BC2AA0 #BC8F2A #2ABC46
square
#2A57BC #BC2AA0 #BC8F2A #2ABC46
split-complementary
#2A57BC #BC462A #A0BC2A
monochromatic
#142958 #1F408A #2A57BC #4C77D7 #7E9DE2

Accessibility & contrast

On white

6.59
#2A57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2A57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A57BC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A57BC#FFFFFF#000000##FFFFFF
##2A57BC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0364C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2a57bc;
/* rgb */ color: rgb(42, 87, 188);
/* oklch */ color: oklch(48.6% 0.167 263.4);
Tailwind
colors: {
  custom: {
    50: '#7a85d1',
    500: '#2a57bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a57bc;
$custom-light: #7a85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a57bc",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 221.507,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48575,
    "c": 0.16709,
    "h": 263.4
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#2A57BC
secondary
#CBB177
accent
#B441E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2A57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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