#2C5DAE#2C5DAE

#2C5DAE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.140 H 259.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2C5DAE
RGBrgb(44, 93, 174)
HSLhsl(217, 60%, 43%)
HSVhsv(217, 75%, 68%)
CMYKcmyk(74.7%, 46.6%, 0%, 31.8%)
CIE-LABlab(40.28, 12.31, -48.07)
CIE-LCHlch(40.28, 49.62, 284.36°)
OKLaboklab(48.9% -0.0245 -0.1378)
OKLCHoklch(48.9% 0.14 259.9)
XYZxyz(12.5903, 11.4188, 41.5767)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DAE #AE7D2C
analogous
#2C9EAE #2C5DAE #3C2CAE
triadic
#2C5DAE #AE2C5D #5DAE2C
tetradic
#2C5DAE #AE2C9E #AE7D2C #2CAE3C
square
#2C5DAE #AE2C9E #AE7D2C #2CAE3C
split-complementary
#2C5DAE #AE3C2C #9EAE2C
monochromatic
#13294C #20437D #2C5DAE #477BD0 #789EDD

Accessibility & contrast

On white

6.39
#2C5DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2C5DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DAE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DAE#FFFFFF#000000##FFFFFF
##2C5DAE1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3265B1
Deuteranopia (green-blind)
#1459AC
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5dae;
/* rgb */ color: rgb(44, 93, 174);
/* oklch */ color: oklch(48.9% 0.140 259.9);
Tailwind
colors: {
  custom: {
    50: '#778ac7',
    500: '#2c5dae',
    950: '#000000',
  },
}
SCSS
$custom: #2c5dae;
$custom-light: #778ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5dae",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 174
  },
  "hsl": {
    "h": 217.385,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48902,
    "c": 0.13999,
    "h": 259.9
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C5DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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