#2A57AE#2A57AE

#2A57AE is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.148 H 261.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2A57AE
RGBrgb(42, 87, 174)
HSLhsl(220, 61%, 42%)
HSVhsv(220, 76%, 68%)
CMYKcmyk(75.9%, 50%, 0%, 31.8%)
CIE-LABlab(38.49, 15.98, -50.95)
CIE-LCHlch(38.49, 53.40, 287.41°)
OKLaboklab(47.51% -0.0208 -0.1465)
OKLCHoklch(47.51% 0.148 261.9)
XYZxyz(12.0003, 10.3633, 41.4041)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A57AE #AE812A
analogous
#2A99AE #2A57AE #3F2AAE
triadic
#2A57AE #AE2A57 #57AE2A
tetradic
#2A57AE #AE2A99 #AE812A #2AAE3F
square
#2A57AE #AE2A99 #AE812A #2AAE3F
split-complementary
#2A57AE #AE3F2A #99AE2A
monochromatic
#12264B #1E3E7D #2A57AE #4374D2 #7599DE

Accessibility & contrast

On white

6.83
#2A57AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A57AE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A57AE#FFFFFF#000000##FFFFFF
##2A57AE1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a57ae;
/* rgb */ color: rgb(42, 87, 174);
/* oklch */ color: oklch(47.5% 0.148 261.9);
Tailwind
colors: {
  custom: {
    50: '#7685c7',
    500: '#2a57ae',
    950: '#000000',
  },
}
SCSS
$custom: #2a57ae;
$custom-light: #7685c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a57ae",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 219.545,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47508,
    "c": 0.14793,
    "h": 261.9
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A57AE

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

Preview Lab → · Contrast checker → · Palette generator →

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