#2C57A6#2C57A6

#2C57A6 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.136 H 261.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2C57A6
RGBrgb(44, 87, 166)
HSLhsl(219, 58%, 41%)
HSVhsv(219, 73%, 65%)
CMYKcmyk(73.5%, 47.6%, 0%, 34.9%)
CIE-LABlab(38.03, 13.18, -46.94)
CIE-LCHlch(38.03, 48.76, 285.68°)
OKLaboklab(47.01% -0.0205 -0.1346)
OKLCHoklch(47.01% 0.136 261.3)
XYZxyz(11.3274, 10.1038, 37.4223)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57A6 #A67B2C
analogous
#2C94A6 #2C57A6 #3E2CA6
triadic
#2C57A6 #A62C57 #57A62C
tetradic
#2C57A6 #A62C94 #A67B2C #2CA63E
square
#2C57A6 #A62C94 #A67B2C #2CA63E
split-complementary
#2C57A6 #A63E2C #94A62C
monochromatic
#122445 #1F3E76 #2C57A6 #4273CD #7397DA

Accessibility & contrast

On white

6.95
#2C57A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2C57A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57A6
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57A6#FFFFFF#000000##FFFFFF
##2C57A61.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA9
Deuteranopia (green-blind)
#0E54A4
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c57a6;
/* rgb */ color: rgb(44, 87, 166);
/* oklch */ color: oklch(47.0% 0.136 261.3);
Tailwind
colors: {
  custom: {
    50: '#7585c1',
    500: '#2c57a6',
    950: '#000000',
  },
}
SCSS
$custom: #2c57a6;
$custom-light: #7585c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57a6",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 166
  },
  "hsl": {
    "h": 218.852,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47007,
    "c": 0.13618,
    "h": 261.3
  },
  "luminance": 0.10105
}

Semantic roles & 50–950 ramp

primary
#2C57A6
secondary
#C1A36D
accent
#AB46E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2C57A6

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

Preview Lab → · Contrast checker → · Palette generator →

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