#2C5EAE#2C5EAE

#2C5EAE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.139 H 259.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2C5EAE
RGBrgb(44, 94, 174)
HSLhsl(217, 60%, 43%)
HSVhsv(217, 75%, 68%)
CMYKcmyk(74.7%, 46%, 0%, 31.8%)
CIE-LABlab(40.57, 11.66, -47.60)
CIE-LCHlch(40.57, 49.01, 283.76°)
OKLaboklab(49.13% -0.0254 -0.1364)
OKLCHoklch(49.13% 0.139 259.5)
XYZxyz(12.6786, 11.5955, 41.6061)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EAE #AE7C2C
analogous
#2C9FAE #2C5EAE #3B2CAE
triadic
#2C5EAE #AE2C5E #5EAE2C
tetradic
#2C5EAE #AE2C9F #AE7C2C #2CAE3B
square
#2C5EAE #AE2C9F #AE7C2C #2CAE3B
split-complementary
#2C5EAE #AE3B2C #9FAE2C
monochromatic
#13294C #20447D #2C5EAE #477CD0 #789FDD

Accessibility & contrast

On white

6.33
#2C5EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2C5EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EAE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EAE#FFFFFF#000000##FFFFFF
##2C5EAE1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#185AAC
Tritanopia (blue-blind)
#00717D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5eae;
/* rgb */ color: rgb(44, 94, 174);
/* oklch */ color: oklch(49.1% 0.139 259.5);
Tailwind
colors: {
  custom: {
    50: '#778bc7',
    500: '#2c5eae',
    950: '#000000',
  },
}
SCSS
$custom: #2c5eae;
$custom-light: #778bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5eae",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 174
  },
  "hsl": {
    "h": 216.923,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49125,
    "c": 0.13879,
    "h": 259.5
  },
  "luminance": 0.11597
}

Semantic roles & 50–950 ramp

primary
#2C5EAE
secondary
#C5A571
accent
#A645E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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