#2A57AF#2A57AF

#2A57AF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.149 H 262.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2A57AF
RGBrgb(42, 87, 175)
HSLhsl(220, 61%, 43%)
HSVhsv(220, 76%, 69%)
CMYKcmyk(76%, 50.3%, 0%, 31.4%)
CIE-LABlab(38.56, 16.36, -51.43)
CIE-LCHlch(38.56, 53.97, 287.65°)
OKLaboklab(47.58% -0.0207 -0.1479)
OKLCHoklch(47.58% 0.149 262)
XYZxyz(12.0981, 10.4024, 41.9194)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A57AF #AF822A
analogous
#2A9AAF #2A57AF #3F2AAF
triadic
#2A57AF #AF2A57 #57AF2A
tetradic
#2A57AF #AF2A9A #AF822A #2AAF3F
square
#2A57AF #AF2A9A #AF822A #2AAF3F
split-complementary
#2A57AF #AF3F2A #9AAF2A
monochromatic
#12264C #1E3E7E #2A57AF #4474D2 #7599DE

Accessibility & contrast

On white

6.82
#2A57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2A57AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A57AF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A57AF#FFFFFF#000000##FFFFFF
##2A57AF1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a57af;
/* rgb */ color: rgb(42, 87, 175);
/* oklch */ color: oklch(47.6% 0.149 262.0);
Tailwind
colors: {
  custom: {
    50: '#7785c7',
    500: '#2a57af',
    950: '#000000',
  },
}
SCSS
$custom: #2a57af;
$custom-light: #7785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a57af",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 219.699,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47582,
    "c": 0.14932,
    "h": 262
  },
  "luminance": 0.10404
}

Semantic roles & 50–950 ramp

primary
#2A57AF
secondary
#C6A86F
accent
#AE43E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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