#2C57AA#2C57AA

#2C57AA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.142 H 261.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#2C57AA
RGBrgb(44, 87, 170)
HSLhsl(220, 59%, 42%)
HSVhsv(220, 74%, 67%)
CMYKcmyk(74.1%, 48.8%, 0%, 33.3%)
CIE-LABlab(38.29, 14.71, -48.89)
CIE-LCHlch(38.29, 51.06, 286.74°)
OKLaboklab(47.29% -0.0199 -0.1404)
OKLCHoklch(47.29% 0.142 261.9)
XYZxyz(11.7000, 10.2529, 39.3848)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57AA #AA7F2C
analogous
#2C96AA #2C57AA #402CAA
triadic
#2C57AA #AA2C57 #57AA2C
tetradic
#2C57AA #AA2C96 #AA7F2C #2CAA40
square
#2C57AA #AA2C96 #AA7F2C #2CAA40
split-complementary
#2C57AA #AA402C #96AA2C
monochromatic
#132549 #1F3E79 #2C57AA #4474CF #7598DB

Accessibility & contrast

On white

6.88
#2C57AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2C57AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57AA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57AA#FFFFFF#000000##FFFFFF
##2C57AA1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2960AD
Deuteranopia (green-blind)
#0055A8
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c57aa;
/* rgb */ color: rgb(44, 87, 170);
/* oklch */ color: oklch(47.3% 0.142 261.9);
Tailwind
colors: {
  custom: {
    50: '#7685c4',
    500: '#2c57aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c57aa;
$custom-light: #7685c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57aa",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 219.524,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47294,
    "c": 0.14177,
    "h": 261.9
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#2C57AA
secondary
#C3A66F
accent
#AD46E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C57AA

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

Preview Lab → · Contrast checker → · Palette generator →

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