#2A57B3#2A57B3

#2A57B3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.155 H 262.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2A57B3
RGBrgb(42, 87, 179)
HSLhsl(220, 62%, 43%)
HSVhsv(220, 77%, 70%)
CMYKcmyk(76.5%, 51.4%, 0%, 29.8%)
CIE-LABlab(38.83, 17.90, -53.35)
CIE-LCHlch(38.83, 56.27, 288.55°)
OKLaboklab(47.88% -0.0202 -0.1535)
OKLCHoklch(47.88% 0.155 262.5)
XYZxyz(12.4968, 10.5619, 44.0191)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A57B3 #B3862A
analogous
#2A9BB3 #2A57B3 #412AB3
triadic
#2A57B3 #B32A57 #57B32A
tetradic
#2A57B3 #B32A9B #B3862A #2AB341
square
#2A57B3 #B32A9B #B3862A #2AB341
split-complementary
#2A57B3 #B3412A #9BB32A
monochromatic
#132750 #1E3F81 #2A57B3 #4675D4 #789ADF

Accessibility & contrast

On white

6.75
#2A57B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2A57B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A57B3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A57B3#FFFFFF#000000##FFFFFF
##2A57B31.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C62B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a57b3;
/* rgb */ color: rgb(42, 87, 179);
/* oklch */ color: oklch(47.9% 0.155 262.5);
Tailwind
colors: {
  custom: {
    50: '#7885ca',
    500: '#2a57b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a57b3;
$custom-light: #7885ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2a57b3",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 179
  },
  "hsl": {
    "h": 220.292,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47882,
    "c": 0.15482,
    "h": 262.5
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#2A57B3
secondary
#C7AB72
accent
#B043E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2A57B3

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

Preview Lab → · Contrast checker → · Palette generator →

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