#2C57AE#2C57AE

#2C57AE is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.6% C 0.147 H 262.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2C57AE
RGBrgb(44, 87, 174)
HSLhsl(220, 60%, 43%)
HSVhsv(220, 75%, 68%)
CMYKcmyk(74.7%, 50%, 0%, 31.8%)
CIE-LABlab(38.56, 16.24, -50.83)
CIE-LCHlch(38.56, 53.36, 287.71°)
OKLaboklab(47.59% -0.0193 -0.1461)
OKLCHoklch(47.59% 0.147 262.5)
XYZxyz(12.0842, 10.4065, 41.4080)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57AE #AE832C
analogous
#2C98AE #2C57AE #422CAE
triadic
#2C57AE #AE2C57 #57AE2C
tetradic
#2C57AE #AE2C98 #AE832C #2CAE42
square
#2C57AE #AE2C98 #AE832C #2CAE42
split-complementary
#2C57AE #AE422C #98AE2C
monochromatic
#13264C #203F7D #2C57AE #4774D0 #7899DD

Accessibility & contrast

On white

6.81
#2C57AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2C57AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57AE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57AE#FFFFFF#000000##FFFFFF
##2C57AE1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c57ae;
/* rgb */ color: rgb(44, 87, 174);
/* oklch */ color: oklch(47.6% 0.147 262.5);
Tailwind
colors: {
  custom: {
    50: '#7785c7',
    500: '#2c57ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c57ae;
$custom-light: #7785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57ae",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 220.154,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47587,
    "c": 0.14733,
    "h": 262.5
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#2C57AE
secondary
#C5A971
accent
#AF45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C57AE

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

Preview Lab → · Contrast checker → · Palette generator →

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