#2C57C1#2C57C1

#2C57C1 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.173 H 264.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2C57C1
RGBrgb(44, 87, 193)
HSLhsl(223, 63%, 46%)
HSVhsv(223, 77%, 76%)
CMYKcmyk(77.2%, 54.9%, 0%, 24.3%)
CIE-LABlab(39.92, 23.47, -59.79)
CIE-LCHlch(39.92, 64.23, 291.44°)
OKLaboklab(49.05% -0.0174 -0.1724)
OKLCHoklch(49.05% 0.173 264.3)
XYZxyz(14.0691, 11.2005, 51.8622)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57C1 #C1962C
analogous
#2CA2C1 #2C57C1 #4C2CC1
triadic
#2C57C1 #C12C57 #57C12C
tetradic
#2C57C1 #C12CA2 #C1962C #2CC14C
square
#2C57C1 #C12CA2 #C1962C #2CC14C
split-complementary
#2C57C1 #C14C2C #A2C12C
monochromatic
#152A5D #21418F #2C57C1 #5379D8 #84A0E3

Accessibility & contrast

On white

6.48
#2C57C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2C57C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57C1
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57C1#FFFFFF#000000##FFFFFF
##2C57C11.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c57c1;
/* rgb */ color: rgb(44, 87, 193);
/* oklch */ color: oklch(49.0% 0.173 264.3);
Tailwind
colors: {
  custom: {
    50: '#7c85d4',
    500: '#2c57c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c57c1;
$custom-light: #7c85d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57c1",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 193
  },
  "hsl": {
    "h": 222.685,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49045,
    "c": 0.17328,
    "h": 264.3
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#2C57C1
secondary
#CCB57D
accent
#B742E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C57C1

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

Preview Lab → · Contrast checker → · Palette generator →

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