#2C57B0#2C57B0

#2C57B0 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.150 H 262.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2C57B0
RGBrgb(44, 87, 176)
HSLhsl(220, 60%, 43%)
HSVhsv(220, 75%, 69%)
CMYKcmyk(75%, 50.6%, 0%, 31%)
CIE-LABlab(38.70, 17.00, -51.79)
CIE-LCHlch(38.70, 54.51, 288.17°)
OKLaboklab(47.74% -0.0191 -0.1489)
OKLCHoklch(47.74% 0.15 262.7)
XYZxyz(12.2806, 10.4851, 42.4425)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57B0 #B0852C
analogous
#2C99B0 #2C57B0 #432CB0
triadic
#2C57B0 #B02C57 #57B02C
tetradic
#2C57B0 #B02C99 #B0852C #2CB043
square
#2C57B0 #B02C99 #B0852C #2CB043
split-complementary
#2C57B0 #B0432C #99B02C
monochromatic
#14274E #203F7F #2C57B0 #4875D1 #799ADD

Accessibility & contrast

On white

6.78
#2C57B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2C57B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57B0
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57B0#FFFFFF#000000##FFFFFF
##2C57B01.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2162B3
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c57b0;
/* rgb */ color: rgb(44, 87, 176);
/* oklch */ color: oklch(47.7% 0.150 262.7);
Tailwind
colors: {
  custom: {
    50: '#7885c8',
    500: '#2c57b0',
    950: '#000000',
  },
}
SCSS
$custom: #2c57b0;
$custom-light: #7885c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57b0",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 176
  },
  "hsl": {
    "h": 220.455,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47735,
    "c": 0.15011,
    "h": 262.7
  },
  "luminance": 0.10486
}

Semantic roles & 50–950 ramp

primary
#2C57B0
secondary
#C6AA72
accent
#B045E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C57B0

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

Preview Lab → · Contrast checker → · Palette generator →

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