#2C57B7#2C57B7

#2C57B7 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.160 H 263.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2C57B7
RGBrgb(44, 87, 183)
HSLhsl(221, 61%, 45%)
HSVhsv(221, 76%, 72%)
CMYKcmyk(76%, 52.5%, 0%, 28.2%)
CIE-LABlab(39.19, 19.67, -55.12)
CIE-LCHlch(39.19, 58.52, 289.64°)
OKLaboklab(48.26% -0.0183 -0.1587)
OKLCHoklch(48.26% 0.16 263.4)
XYZxyz(12.9911, 10.7693, 46.1846)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57B7 #B78C2C
analogous
#2C9DB7 #2C57B7 #472CB7
triadic
#2C57B7 #B72C57 #57B72C
tetradic
#2C57B7 #B72C9D #B78C2C #2CB747
square
#2C57B7 #B72C9D #B78C2C #2CB747
split-complementary
#2C57B7 #B7472C #9DB72C
monochromatic
#142854 #204086 #2C57B7 #4C76D4 #7E9CE0

Accessibility & contrast

On white

6.66
#2C57B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2C57B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57B7
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57B7#FFFFFF#000000##FFFFFF
##2C57B71.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1463BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c57b7;
/* rgb */ color: rgb(44, 87, 183);
/* oklch */ color: oklch(48.3% 0.160 263.4);
Tailwind
colors: {
  custom: {
    50: '#7985cd',
    500: '#2c57b7',
    950: '#000000',
  },
}
SCSS
$custom: #2c57b7;
$custom-light: #7985cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57b7",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 183
  },
  "hsl": {
    "h": 221.439,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48264,
    "c": 0.15973,
    "h": 263.4
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#2C57B7
secondary
#C8AF76
accent
#B343E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2C57B7

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

Preview Lab → · Contrast checker → · Palette generator →

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