#2C57A3#2C57A3

#2C57A3 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.132 H 260.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2C57A3
RGBrgb(44, 87, 163)
HSLhsl(218, 57%, 41%)
HSVhsv(218, 73%, 64%)
CMYKcmyk(73%, 46.6%, 0%, 36.1%)
CIE-LABlab(37.83, 12.03, -45.47)
CIE-LCHlch(37.83, 47.03, 284.82°)
OKLaboklab(46.79% -0.021 -0.1303)
OKLCHoklch(46.79% 0.132 260.8)
XYZxyz(11.0554, 9.9950, 35.9898)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57A3 #A3782C
analogous
#2C92A3 #2C57A3 #3C2CA3
triadic
#2C57A3 #A32C57 #57A32C
tetradic
#2C57A3 #A32C92 #A3782C #2CA33C
square
#2C57A3 #A32C92 #A3782C #2CA33C
split-complementary
#2C57A3 #A33C2C #92A32C
monochromatic
#122443 #1F3D73 #2C57A3 #4173CC #7196D9

Accessibility & contrast

On white

7.00
#2C57A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2C57A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57A3
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57A3#FFFFFF#000000##FFFFFF
##2C57A31.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305FA6
Deuteranopia (green-blind)
#1654A1
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c57a3;
/* rgb */ color: rgb(44, 87, 163);
/* oklch */ color: oklch(46.8% 0.132 260.8);
Tailwind
colors: {
  custom: {
    50: '#7585bf',
    500: '#2c57a3',
    950: '#000000',
  },
}
SCSS
$custom: #2c57a3;
$custom-light: #7585bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57a3",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 163
  },
  "hsl": {
    "h": 218.319,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46795,
    "c": 0.13197,
    "h": 260.8
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#2C57A3
secondary
#C0A16B
accent
#A947E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C57A3

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

Preview Lab → · Contrast checker → · Palette generator →

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