#2C4AAD#2C4AAD

#2C4AAD is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.162 H 266.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2C4AAD
RGBrgb(44, 74, 173)
HSLhsl(226, 59%, 43%)
HSVhsv(226, 75%, 68%)
CMYKcmyk(74.6%, 57.2%, 0%, 32.2%)
CIE-LABlab(34.90, 24.47, -56.16)
CIE-LCHlch(34.90, 61.26, 293.54°)
OKLaboklab(44.79% -0.009 -0.162)
OKLCHoklch(44.79% 0.162 266.8)
XYZxyz(11.0277, 8.4490, 40.5767)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AAD #AD8F2C
analogous
#2C8AAD #2C4AAD #4F2CAD
triadic
#2C4AAD #AD2C4A #4AAD2C
tetradic
#2C4AAD #AD2C8A #AD8F2C #2CAD4F
square
#2C4AAD #AD2C8A #AD8F2C #2CAD4F
split-complementary
#2C4AAD #AD4F2C #8AAD2C
monochromatic
#13204B #20357C #2C4AAD #4666D0 #778FDC

Accessibility & contrast

On white

7.81
#2C4AAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C4AAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AAD
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AAD#FFFFFF#000000##FFFFFF
##2C4AAD1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4aad;
/* rgb */ color: rgb(44, 74, 173);
/* oklch */ color: oklch(44.8% 0.162 266.8);
Tailwind
colors: {
  custom: {
    50: '#787cc6',
    500: '#2c4aad',
    950: '#000000',
  },
}
SCSS
$custom: #2c4aad;
$custom-light: #787cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4aad",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 173
  },
  "hsl": {
    "h": 226.047,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44791,
    "c": 0.16223,
    "h": 266.8
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#2C4AAD
secondary
#C4B171
accent
#BE45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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