#2A57AD#2A57AD

#2A57AD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.147 H 261.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2A57AD
RGBrgb(42, 87, 173)
HSLhsl(219, 61%, 42%)
HSVhsv(219, 76%, 68%)
CMYKcmyk(75.7%, 49.7%, 0%, 32.2%)
CIE-LABlab(38.42, 15.59, -50.47)
CIE-LCHlch(38.42, 52.83, 287.17°)
OKLaboklab(47.43% -0.021 -0.1451)
OKLCHoklch(47.43% 0.147 261.8)
XYZxyz(11.9032, 10.3244, 40.8925)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A57AD #AD802A
analogous
#2A99AD #2A57AD #3E2AAD
triadic
#2A57AD #AD2A57 #57AD2A
tetradic
#2A57AD #AD2A99 #AD802A #2AAD3E
square
#2A57AD #AD2A99 #AD802A #2AAD3E
split-complementary
#2A57AD #AD3E2A #99AD2A
monochromatic
#12254B #1E3E7C #2A57AD #4374D1 #7498DD

Accessibility & contrast

On white

6.85
#2A57AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2A57AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A57AD
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A57AD#FFFFFF#000000##FFFFFF
##2A57AD1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2561B0
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a57ad;
/* rgb */ color: rgb(42, 87, 173);
/* oklch */ color: oklch(47.4% 0.147 261.8);
Tailwind
colors: {
  custom: {
    50: '#7685c6',
    500: '#2a57ad',
    950: '#000000',
  },
}
SCSS
$custom: #2a57ad;
$custom-light: #7685c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a57ad",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 173
  },
  "hsl": {
    "h": 219.389,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47434,
    "c": 0.14656,
    "h": 261.8
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#2A57AD
secondary
#C5A76E
accent
#AD44E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A57AD

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

Preview Lab → · Contrast checker → · Palette generator →

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