#2C4DA5#2C4DA5

#2C4DA5 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.147 H 265.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2C4DA5
RGBrgb(44, 77, 165)
HSLhsl(224, 58%, 41%)
HSVhsv(224, 73%, 65%)
CMYKcmyk(73.3%, 53.3%, 0%, 35.3%)
CIE-LABlab(35.12, 19.43, -51.04)
CIE-LCHlch(35.12, 54.61, 290.84°)
OKLaboklab(44.77% -0.012 -0.1468)
OKLCHoklch(44.77% 0.147 265.3)
XYZxyz(10.4817, 8.5587, 36.6896)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4DA5 #A5842C
analogous
#2C89A5 #2C4DA5 #472CA5
triadic
#2C4DA5 #A52C4D #4DA52C
tetradic
#2C4DA5 #A52C89 #A5842C #2CA547
square
#2C4DA5 #A52C89 #A5842C #2CA547
split-complementary
#2C4DA5 #A5472C #89A52C
monochromatic
#122044 #1F3675 #2C4DA5 #4268CD #728ED9

Accessibility & contrast

On white

7.74
#2C4DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2C4DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4DA5
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4DA5#FFFFFF#000000##FFFFFF
##2C4DA51.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F58A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4da5;
/* rgb */ color: rgb(44, 77, 165);
/* oklch */ color: oklch(44.8% 0.147 265.3);
Tailwind
colors: {
  custom: {
    50: '#767ec0',
    500: '#2c4da5',
    950: '#000000',
  },
}
SCSS
$custom: #2c4da5;
$custom-light: #767ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4da5",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 223.636,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44766,
    "c": 0.14734,
    "h": 265.3
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#2C4DA5
secondary
#C1AA6C
accent
#B747E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C4DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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