#2C4CA4#2C4CA4

#2C4CA4 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.147 H 265.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2C4CA4
RGBrgb(44, 76, 164)
HSLhsl(224, 58%, 41%)
HSVhsv(224, 73%, 64%)
CMYKcmyk(73.2%, 53.7%, 0%, 35.7%)
CIE-LABlab(34.77, 19.71, -51.00)
CIE-LCHlch(34.77, 54.68, 291.13°)
OKLaboklab(44.48% -0.0112 -0.1468)
OKLCHoklch(44.48% 0.147 265.6)
XYZxyz(10.3216, 8.3836, 36.1890)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CA4 #A4842C
analogous
#2C88A4 #2C4CA4 #482CA4
triadic
#2C4CA4 #A42C4C #4CA42C
tetradic
#2C4CA4 #A42C88 #A4842C #2CA448
square
#2C4CA4 #A42C88 #A4842C #2CA448
split-complementary
#2C4CA4 #A4482C #88A42C
monochromatic
#121F43 #1F3674 #2C4CA4 #4166CC #718DD9

Accessibility & contrast

On white

7.84
#2C4CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2C4CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CA4
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CA4#FFFFFF#000000##FFFFFF
##2C4CA41.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D58A7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4ca4;
/* rgb */ color: rgb(44, 76, 164);
/* oklch */ color: oklch(44.5% 0.147 265.6);
Tailwind
colors: {
  custom: {
    50: '#767dc0',
    500: '#2c4ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ca4;
$custom-light: #767dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ca4",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 164
  },
  "hsl": {
    "h": 224,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44477,
    "c": 0.14721,
    "h": 265.6
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

primary
#2C4CA4
secondary
#C0AA6B
accent
#B847E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C4CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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