#2C5FAD#2C5FAD

#2C5FAD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.136 H 258.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2C5FAD
RGBrgb(44, 95, 173)
HSLhsl(216, 59%, 43%)
HSVhsv(216, 75%, 68%)
CMYKcmyk(74.6%, 45.1%, 0%, 32.2%)
CIE-LABlab(40.79, 10.63, -46.65)
CIE-LCHlch(40.79, 47.85, 282.83°)
OKLaboklab(49.28% -0.0264 -0.1336)
OKLCHoklch(49.28% 0.136 258.8)
XYZxyz(12.6710, 11.7356, 41.1245)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FAD #AD7A2C
analogous
#2CA0AD #2C5FAD #392CAD
triadic
#2C5FAD #AD2C5F #5FAD2C
tetradic
#2C5FAD #AD2CA0 #AD7A2C #2CAD39
square
#2C5FAD #AD2CA0 #AD7A2C #2CAD39
split-complementary
#2C5FAD #AD392C #A0AD2C
monochromatic
#13294B #20447C #2C5FAD #467DD0 #779FDC

Accessibility & contrast

On white

6.27
#2C5FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2C5FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FAD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FAD#FFFFFF#000000##FFFFFF
##2C5FAD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B0
Deuteranopia (green-blind)
#1D5BAB
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5fad;
/* rgb */ color: rgb(44, 95, 173);
/* oklch */ color: oklch(49.3% 0.136 258.8);
Tailwind
colors: {
  custom: {
    50: '#778bc6',
    500: '#2c5fad',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fad;
$custom-light: #778bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fad",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 173
  },
  "hsl": {
    "h": 216.279,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49279,
    "c": 0.13621,
    "h": 258.8
  },
  "luminance": 0.11737
}

Semantic roles & 50–950 ramp

primary
#2C5FAD
secondary
#C4A371
accent
#A445E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C5FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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