#2C57D3#2C57D3

#2C57D3 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.5% C 0.197 H 265.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2C57D3
RGBrgb(44, 87, 211)
HSLhsl(225, 65%, 50%)
HSVhsv(225, 79%, 83%)
CMYKcmyk(79.1%, 58.8%, 0%, 17.3%)
CIE-LABlab(41.30, 30.24, -67.94)
CIE-LCHlch(41.30, 74.37, 293.99°)
OKLaboklab(50.52% -0.0164 -0.1964)
OKLCHoklch(50.52% 0.197 265.2)
XYZxyz(16.2006, 12.0531, 63.0880)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57D3 #D3A82C
analogous
#2CAAD3 #2C57D3 #552CD3
triadic
#2C57D3 #D32C57 #57D32C
tetradic
#2C57D3 #D32CAA #D3A82C #2CD355
square
#2C57D3 #D32CAA #D3A82C #2CD355
split-complementary
#2C57D3 #D3552C #AAD32C
monochromatic
#172D6E #2142A0 #2C57D3 #5F7FDE #91A8E8

Accessibility & contrast

On white

6.16
#2C57D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2C57D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57D3
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57D3#FFFFFF#000000##FFFFFF
##2C57D31.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#005AD1
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c57d3;
/* rgb */ color: rgb(44, 87, 211);
/* oklch */ color: oklch(50.5% 0.197 265.2);
Tailwind
colors: {
  custom: {
    50: '#8085e1',
    500: '#2c57d3',
    950: '#000000',
  },
}
SCSS
$custom: #2c57d3;
$custom-light: #8085e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57d3",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 211
  },
  "hsl": {
    "h": 224.551,
    "s": 65.49,
    "l": 50
  },
  "oklch": {
    "l": 0.50519,
    "c": 0.19705,
    "h": 265.2
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#2C57D3
secondary
#D3C088
accent
#BD3FE8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2C57D3

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

Preview Lab → · Contrast checker → · Palette generator →

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