#2C5AAD#2C5AAD

#2C5AAD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.142 H 261.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2C5AAD
RGBrgb(44, 90, 173)
HSLhsl(219, 59%, 43%)
HSVhsv(219, 75%, 68%)
CMYKcmyk(74.6%, 48%, 0%, 32.2%)
CIE-LABlab(39.35, 13.88, -48.97)
CIE-LCHlch(39.35, 50.90, 285.83°)
OKLaboklab(48.17% -0.022 -0.1405)
OKLCHoklch(48.17% 0.142 261.1)
XYZxyz(12.2350, 10.8636, 40.9791)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AAD #AD7F2C
analogous
#2C9AAD #2C5AAD #3F2CAD
triadic
#2C5AAD #AD2C5A #5AAD2C
tetradic
#2C5AAD #AD2C9A #AD7F2C #2CAD3F
square
#2C5AAD #AD2C9A #AD7F2C #2CAD3F
split-complementary
#2C5AAD #AD3F2C #9AAD2C
monochromatic
#13274B #20417C #2C5AAD #4677D0 #779BDC

Accessibility & contrast

On white

6.62
#2C5AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2C5AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AAD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AAD#FFFFFF#000000##FFFFFF
##2C5AAD1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D63B0
Deuteranopia (green-blind)
#0757AB
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5aad;
/* rgb */ color: rgb(44, 90, 173);
/* oklch */ color: oklch(48.2% 0.142 261.1);
Tailwind
colors: {
  custom: {
    50: '#7788c6',
    500: '#2c5aad',
    950: '#000000',
  },
}
SCSS
$custom: #2c5aad;
$custom-light: #7788c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5aad",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 173
  },
  "hsl": {
    "h": 218.605,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.14225,
    "h": 261.1
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#2C5AAD
secondary
#C4A671
accent
#AA45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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