#2C57AF#2C57AF

#2C57AF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.7% C 0.149 H 262.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2C57AF
RGBrgb(44, 87, 175)
HSLhsl(220, 60%, 43%)
HSVhsv(220, 75%, 69%)
CMYKcmyk(74.9%, 50.3%, 0%, 31.4%)
CIE-LABlab(38.63, 16.62, -51.31)
CIE-LCHlch(38.63, 53.93, 287.95°)
OKLaboklab(47.66% -0.0192 -0.1475)
OKLCHoklch(47.66% 0.149 262.6)
XYZxyz(12.1820, 10.4457, 41.9233)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C57AF #AF842C
analogous
#2C98AF #2C57AF #422CAF
triadic
#2C57AF #AF2C57 #57AF2C
tetradic
#2C57AF #AF2C98 #AF842C #2CAF42
square
#2C57AF #AF2C98 #AF842C #2CAF42
split-complementary
#2C57AF #AF422C #98AF2C
monochromatic
#13264D #203F7E #2C57AF #4774D1 #7899DD

Accessibility & contrast

On white

6.80
#2C57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2C57AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C57AF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C57AF#FFFFFF#000000##FFFFFF
##2C57AF1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c57af;
/* rgb */ color: rgb(44, 87, 175);
/* oklch */ color: oklch(47.7% 0.149 262.6);
Tailwind
colors: {
  custom: {
    50: '#7785c7',
    500: '#2c57af',
    950: '#000000',
  },
}
SCSS
$custom: #2c57af;
$custom-light: #7785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c57af",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 220.305,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47661,
    "c": 0.14872,
    "h": 262.6
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#2C57AF
secondary
#C5AA72
accent
#AF45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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