#2C57A1#2C57A1

#2C57A1 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.7% C 0.129 H 260.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#2C57A1
RGBrgb(44, 87, 161)
HSLhsl(218, 57%, 40%)
HSVhsv(218, 73%, 63%)
CMYKcmyk(72.7%, 46%, 0%, 36.9%)
CIE-LABlab(37.71, 11.27, -44.48)
CIE-LCHlch(37.71, 45.88, 284.21°)
OKLaboklab(46.66% -0.0214 -0.1274)
OKLCHoklch(46.66% 0.129 260.5)
XYZxyz(10.8776, 9.9239, 35.0535)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57A1 #A1762C
analogous
#2C91A1 #2C57A1 #3C2CA1
triadic
#2C57A1 #A12C57 #57A12C
tetradic
#2C57A1 #A12C91 #A1762C #2CA13C
square
#2C57A1 #A12C91 #A1762C #2CA13C
split-complementary
#2C57A1 #A13C2C #91A12C
monochromatic
#122341 #1F3D71 #2C57A1 #4073CB #7096D8

Accessibility & contrast

On white

7.04
#2C57A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2C57A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C57A1
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57A1#FFFFFF#000000##FFFFFF
##2C57A11.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA4
Deuteranopia (green-blind)
#1A549F
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c57a1;
/* rgb */ color: rgb(44, 87, 161);
/* oklch */ color: oklch(46.7% 0.129 260.5);
Tailwind
colors: {
  custom: {
    50: '#7485bd',
    500: '#2c57a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c57a1;
$custom-light: #7485bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57a1",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 161
  },
  "hsl": {
    "h": 217.949,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46655,
    "c": 0.12916,
    "h": 260.5
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#2C57A1
secondary
#BFA06A
accent
#A847E0
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C57A1

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

Preview Lab → · Contrast checker → · Palette generator →

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