#2C57A2#2C57A2

#2C57A2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.131 H 260.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#2C57A2
RGBrgb(44, 87, 162)
HSLhsl(218, 57%, 40%)
HSVhsv(218, 73%, 64%)
CMYKcmyk(72.8%, 46.3%, 0%, 36.5%)
CIE-LABlab(37.77, 11.65, -44.97)
CIE-LCHlch(37.77, 46.46, 284.52°)
OKLaboklab(46.73% -0.0212 -0.1288)
OKLCHoklch(46.73% 0.131 260.7)
XYZxyz(10.9661, 9.9593, 35.5198)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57A2 #A2772C
analogous
#2C92A2 #2C57A2 #3C2CA2
triadic
#2C57A2 #A22C57 #57A22C
tetradic
#2C57A2 #A22C92 #A2772C #2CA23C
square
#2C57A2 #A22C92 #A2772C #2CA23C
split-complementary
#2C57A2 #A23C2C #92A22C
monochromatic
#122342 #1F3D72 #2C57A2 #4073CB #7096D8

Accessibility & contrast

On white

7.02
#2C57A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2C57A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C57A2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57A2#FFFFFF#000000##FFFFFF
##2C57A21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#1854A0
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c57a2;
/* rgb */ color: rgb(44, 87, 162);
/* oklch */ color: oklch(46.7% 0.131 260.7);
Tailwind
colors: {
  custom: {
    50: '#7585be',
    500: '#2c57a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c57a2;
$custom-light: #7585be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57a2",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 218.136,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.13056,
    "h": 260.7
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C57A2

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

Preview Lab → · Contrast checker → · Palette generator →

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