#2C4DAE#2C4DAE

#2C4DAE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.160 H 266.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2C4DAE
RGBrgb(44, 77, 174)
HSLhsl(225, 60%, 43%)
HSVhsv(225, 75%, 68%)
CMYKcmyk(74.7%, 55.7%, 0%, 31.8%)
CIE-LABlab(35.79, 22.85, -55.32)
CIE-LCHlch(35.79, 59.85, 292.45°)
OKLaboklab(45.48% -0.0112 -0.1594)
OKLCHoklch(45.48% 0.16 266)
XYZxyz(11.3299, 8.8980, 41.1566)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4DAE #AE8D2C
analogous
#2C8EAE #2C4DAE #4C2CAE
triadic
#2C4DAE #AE2C4D #4DAE2C
tetradic
#2C4DAE #AE2C8E #AE8D2C #2CAE4C
square
#2C4DAE #AE2C8E #AE8D2C #2CAE4C
split-complementary
#2C4DAE #AE4C2C #8EAE2C
monochromatic
#13224C #20377D #2C4DAE #476AD0 #7891DD

Accessibility & contrast

On white

7.55
#2C4DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2C4DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4DAE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4DAE#FFFFFF#000000##FFFFFF
##2C4DAE1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c4dae;
/* rgb */ color: rgb(44, 77, 174);
/* oklch */ color: oklch(45.5% 0.160 266.0);
Tailwind
colors: {
  custom: {
    50: '#787ec7',
    500: '#2c4dae',
    950: '#000000',
  },
}
SCSS
$custom: #2c4dae;
$custom-light: #787ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4dae",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 224.769,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.15985,
    "h": 266
  },
  "luminance": 0.08899
}

Semantic roles & 50–950 ramp

primary
#2C4DAE
secondary
#C5AF71
accent
#BB45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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