#2C57B1#2C57B1

#2C57B1 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.151 H 262.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2C57B1
RGBrgb(44, 87, 177)
HSLhsl(221, 60%, 43%)
HSVhsv(221, 75%, 69%)
CMYKcmyk(75.1%, 50.8%, 0%, 30.6%)
CIE-LABlab(38.77, 17.38, -52.27)
CIE-LCHlch(38.77, 55.08, 288.39°)
OKLaboklab(47.81% -0.019 -0.1503)
OKLCHoklch(47.81% 0.151 262.8)
XYZxyz(12.3799, 10.5248, 42.9655)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57B1 #B1862C
analogous
#2C99B1 #2C57B1 #442CB1
triadic
#2C57B1 #B12C57 #57B12C
tetradic
#2C57B1 #B12C99 #B1862C #2CB144
square
#2C57B1 #B12C99 #B1862C #2CB144
split-complementary
#2C57B1 #B1442C #99B12C
monochromatic
#14274F #203F80 #2C57B1 #4975D2 #7A9ADE

Accessibility & contrast

On white

6.76
#2C57B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C57B1
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57B1#FFFFFF#000000##FFFFFF
##2C57B11.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2062B4
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c57b1;
/* rgb */ color: rgb(44, 87, 177);
/* oklch */ color: oklch(47.8% 0.151 262.8);
Tailwind
colors: {
  custom: {
    50: '#7885c9',
    500: '#2c57b1',
    950: '#000000',
  },
}
SCSS
$custom: #2c57b1;
$custom-light: #7885c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57b1",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 177
  },
  "hsl": {
    "h": 220.602,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4781,
    "c": 0.15149,
    "h": 262.8
  },
  "luminance": 0.10526
}

Semantic roles & 50–950 ramp

primary
#2C57B1
secondary
#C6AB73
accent
#B044E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C57B1

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

Preview Lab → · Contrast checker → · Palette generator →

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