#2C4AA4#2C4AA4

#2C4AA4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.150 H 266.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2C4AA4
RGBrgb(44, 74, 164)
HSLhsl(225, 58%, 41%)
HSVhsv(225, 73%, 64%)
CMYKcmyk(73.2%, 54.9%, 0%, 35.7%)
CIE-LABlab(34.22, 21.05, -51.90)
CIE-LCHlch(34.22, 56.01, 292.08°)
OKLaboklab(44.06% -0.0096 -0.1494)
OKLCHoklch(44.06% 0.15 266.3)
XYZxyz(10.1860, 8.1123, 36.1438)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AA4 #A4862C
analogous
#2C86A4 #2C4AA4 #4A2CA4
triadic
#2C4AA4 #A42C4A #4AA42C
tetradic
#2C4AA4 #A42C86 #A4862C #2CA44A
square
#2C4AA4 #A42C86 #A4862C #2CA44A
split-complementary
#2C4AA4 #A44A2C #86A42C
monochromatic
#121E43 #1F3474 #2C4AA4 #4164CC #718BD9

Accessibility & contrast

On white

8.01
#2C4AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2C4AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AA4
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AA4#FFFFFF#000000##FFFFFF
##2C4AA41.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4aa4;
/* rgb */ color: rgb(44, 74, 164);
/* oklch */ color: oklch(44.1% 0.150 266.3);
Tailwind
colors: {
  custom: {
    50: '#767cc0',
    500: '#2c4aa4',
    950: '#000000',
  },
}
SCSS
$custom: #2c4aa4;
$custom-light: #767cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4aa4",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 225,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44059,
    "c": 0.14976,
    "h": 266.3
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#2C4AA4
secondary
#C0AB6B
accent
#BA47E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C4AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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