#2C5FAE#2C5FAE

#2C5FAE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.3% C 0.138 H 259.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2C5FAE
RGBrgb(44, 95, 174)
HSLhsl(216, 60%, 43%)
HSVhsv(216, 75%, 68%)
CMYKcmyk(74.7%, 45.4%, 0%, 31.8%)
CIE-LABlab(40.86, 11.01, -47.14)
CIE-LCHlch(40.86, 48.41, 283.14°)
OKLaboklab(49.35% -0.0262 -0.1351)
OKLCHoklch(49.35% 0.138 259)
XYZxyz(12.7681, 11.7745, 41.6360)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FAE #AE7B2C
analogous
#2CA0AE #2C5FAE #3A2CAE
triadic
#2C5FAE #AE2C5F #5FAE2C
tetradic
#2C5FAE #AE2CA0 #AE7B2C #2CAE3A
square
#2C5FAE #AE2CA0 #AE7B2C #2CAE3A
split-complementary
#2C5FAE #AE3A2C #A0AE2C
monochromatic
#132A4C #20447D #2C5FAE #477DD0 #789FDD

Accessibility & contrast

On white

6.26
#2C5FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2C5FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FAE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FAE#FFFFFF#000000##FFFFFF
##2C5FAE1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3767B1
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5fae;
/* rgb */ color: rgb(44, 95, 174);
/* oklch */ color: oklch(49.3% 0.138 259.0);
Tailwind
colors: {
  custom: {
    50: '#778bc7',
    500: '#2c5fae',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fae;
$custom-light: #778bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fae",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 216.462,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49348,
    "c": 0.13759,
    "h": 259
  },
  "luminance": 0.11776
}

Semantic roles & 50–950 ramp

primary
#2C5FAE
secondary
#C5A471
accent
#A545E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C5FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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