#2C57C3#2C57C3

#2C57C3 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.176 H 264.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2C57C3
RGBrgb(44, 87, 195)
HSLhsl(223, 63%, 47%)
HSVhsv(223, 77%, 76%)
CMYKcmyk(77.4%, 55.4%, 0%, 23.5%)
CIE-LABlab(40.07, 24.23, -60.71)
CIE-LCHlch(40.07, 65.36, 291.76°)
OKLaboklab(49.21% -0.0172 -0.1751)
OKLCHoklch(49.21% 0.176 264.4)
XYZxyz(14.2937, 11.2904, 53.0451)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57C3 #C3982C
analogous
#2CA3C3 #2C57C3 #4D2CC3
triadic
#2C57C3 #C32C57 #57C32C
tetradic
#2C57C3 #C32CA3 #C3982C #2CC34D
square
#2C57C3 #C32CA3 #C3982C #2CC34D
split-complementary
#2C57C3 #C34D2C #A3C32C
monochromatic
#152A5F #214191 #2C57C3 #547AD8 #86A0E4

Accessibility & contrast

On white

6.44
#2C57C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2C57C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57C3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57C3#FFFFFF#000000##FFFFFF
##2C57C31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c57c3;
/* rgb */ color: rgb(44, 87, 195);
/* oklch */ color: oklch(49.2% 0.176 264.4);
Tailwind
colors: {
  custom: {
    50: '#7c85d6',
    500: '#2c57c3',
    950: '#000000',
  },
}
SCSS
$custom: #2c57c3;
$custom-light: #7c85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57c3",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 195
  },
  "hsl": {
    "h": 222.914,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.17596,
    "h": 264.4
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C57C3

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

Preview Lab → · Contrast checker → · Palette generator →

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