#2C57B2#2C57B2

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

Color values

HEX#2C57B2
RGBrgb(44, 87, 178)
HSLhsl(221, 60%, 44%)
HSVhsv(221, 75%, 70%)
CMYKcmyk(75.3%, 51.1%, 0%, 30.2%)
CIE-LABlab(38.84, 17.76, -52.74)
CIE-LCHlch(38.84, 55.66, 288.61°)
OKLaboklab(47.89% -0.0188 -0.1517)
OKLCHoklch(47.89% 0.153 262.9)
XYZxyz(12.4799, 10.5648, 43.4923)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57B2 #B2872C
analogous
#2C9AB2 #2C57B2 #442CB2
triadic
#2C57B2 #B22C57 #57B22C
tetradic
#2C57B2 #B22C9A #B2872C #2CB244
square
#2C57B2 #B22C9A #B2872C #2CB244
split-complementary
#2C57B2 #B2442C #9AB22C
monochromatic
#142750 #203F81 #2C57B2 #4975D2 #7A9ADE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C57B2#FFFFFF#000000##FFFFFF
##2C57B21.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)
#1E62B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c57b2;
/* rgb */ color: rgb(44, 87, 178);
/* oklch */ color: oklch(47.9% 0.153 262.9);
Tailwind
colors: {
  custom: {
    50: '#7885ca',
    500: '#2c57b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c57b2;
$custom-light: #7885ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57b2",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 220.746,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.15286,
    "h": 262.9
  },
  "luminance": 0.10566
}

Semantic roles & 50–950 ramp

primary
#2C57B2
secondary
#C6AC73
accent
#B044E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C57B2

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

Preview Lab → · Contrast checker → · Palette generator →

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