#2A57A9#2A57A9

#2A57A9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.141 H 261.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2A57A9
RGBrgb(42, 87, 169)
HSLhsl(219, 60%, 41%)
HSVhsv(219, 75%, 66%)
CMYKcmyk(75.1%, 48.5%, 0%, 33.7%)
CIE-LABlab(38.15, 14.05, -48.53)
CIE-LCHlch(38.15, 50.53, 286.15°)
OKLaboklab(47.14% -0.0215 -0.1393)
OKLCHoklch(47.14% 0.141 261.2)
XYZxyz(11.5219, 10.1719, 38.8846)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A57A9 #A97C2A
analogous
#2A97A9 #2A57A9 #3D2AA9
triadic
#2A57A9 #A92A57 #57A92A
tetradic
#2A57A9 #A92A97 #A97C2A #2AA93D
square
#2A57A9 #A92A97 #A97C2A #2AA93D
split-complementary
#2A57A9 #A93D2A #97A92A
monochromatic
#122547 #1E3E78 #2A57A9 #4173D0 #7297DC

Accessibility & contrast

On white

6.92
#2A57A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2A57A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A57A9
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A57A9#FFFFFF#000000##FFFFFF
##2A57A91.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2960AC
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a57a9;
/* rgb */ color: rgb(42, 87, 169);
/* oklch */ color: oklch(47.1% 0.141 261.2);
Tailwind
colors: {
  custom: {
    50: '#7585c3',
    500: '#2a57a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a57a9;
$custom-light: #7585c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a57a9",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 169
  },
  "hsl": {
    "h": 218.74,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47142,
    "c": 0.14101,
    "h": 261.2
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#2A57A9
secondary
#C3A46C
accent
#AB44E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2A57A9

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

Preview Lab → · Contrast checker → · Palette generator →

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