#2C4EAE#2C4EAE

#2C4EAE is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.159 H 265.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2C4EAE
RGBrgb(44, 78, 174)
HSLhsl(224, 60%, 43%)
HSVhsv(224, 75%, 68%)
CMYKcmyk(74.7%, 55.2%, 0%, 31.8%)
CIE-LABlab(36.06, 22.19, -54.88)
CIE-LCHlch(36.06, 59.19, 292.02°)
OKLaboklab(45.69% -0.012 -0.1581)
OKLCHoklch(45.69% 0.159 265.6)
XYZxyz(11.4004, 9.0390, 41.1801)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EAE #AE8C2C
analogous
#2C8FAE #2C4EAE #4B2CAE
triadic
#2C4EAE #AE2C4E #4EAE2C
tetradic
#2C4EAE #AE2C8F #AE8C2C #2CAE4B
square
#2C4EAE #AE2C8F #AE8C2C #2CAE4B
split-complementary
#2C4EAE #AE4B2C #8FAE2C
monochromatic
#13224C #20387D #2C4EAE #476BD0 #7892DD

Accessibility & contrast

On white

7.48
#2C4EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2C4EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4EAE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4EAE#FFFFFF#000000##FFFFFF
##2C4EAE1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4eae;
/* rgb */ color: rgb(44, 78, 174);
/* oklch */ color: oklch(45.7% 0.159 265.6);
Tailwind
colors: {
  custom: {
    50: '#787fc7',
    500: '#2c4eae',
    950: '#000000',
  },
}
SCSS
$custom: #2c4eae;
$custom-light: #787fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4eae",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 224.308,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45686,
    "c": 0.15859,
    "h": 265.6
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#2C4EAE
secondary
#C5AF71
accent
#BA45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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