#2C57B5#2C57B5

#2C57B5 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.1% C 0.157 H 263.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2C57B5
RGBrgb(44, 87, 181)
HSLhsl(221, 61%, 44%)
HSVhsv(221, 76%, 71%)
CMYKcmyk(75.7%, 51.9%, 0%, 29%)
CIE-LABlab(39.05, 18.91, -54.17)
CIE-LCHlch(39.05, 57.38, 289.24°)
OKLaboklab(48.11% -0.0185 -0.1559)
OKLCHoklch(48.11% 0.157 263.2)
XYZxyz(12.7844, 10.6866, 45.0961)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57B5 #B58A2C
analogous
#2C9CB5 #2C57B5 #462CB5
triadic
#2C57B5 #B52C57 #57B52C
tetradic
#2C57B5 #B52C9C #B58A2C #2CB546
square
#2C57B5 #B52C9C #B58A2C #2CB546
split-complementary
#2C57B5 #B5462C #9CB52C
monochromatic
#142853 #203F84 #2C57B5 #4B76D3 #7C9BDF

Accessibility & contrast

On white

6.69
#2C57B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2C57B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57B5
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57B5#FFFFFF#000000##FFFFFF
##2C57B51.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1963B8
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c57b5;
/* rgb */ color: rgb(44, 87, 181);
/* oklch */ color: oklch(48.1% 0.157 263.2);
Tailwind
colors: {
  custom: {
    50: '#7985cc',
    500: '#2c57b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c57b5;
$custom-light: #7985cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57b5",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 181
  },
  "hsl": {
    "h": 221.168,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48112,
    "c": 0.15699,
    "h": 263.2
  },
  "luminance": 0.10688
}

Semantic roles & 50–950 ramp

primary
#2C57B5
secondary
#C8AE75
accent
#B244E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C57B5

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

Preview Lab → · Contrast checker → · Palette generator →

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