#2C4A8D#2C4A8D

#2C4A8D is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.3% C 0.117 H 264.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2C4A8D
RGBrgb(44, 74, 141)
HSLhsl(221, 52%, 36%)
HSVhsv(221, 69%, 55%)
CMYKcmyk(68.8%, 47.5%, 0%, 44.7%)
CIE-LABlab(32.60, 12.28, -40.56)
CIE-LCHlch(32.60, 42.38, 286.84°)
OKLaboklab(42.32% -0.0123 -0.1161)
OKLCHoklch(42.32% 0.117 264)
XYZxyz(8.2935, 7.3553, 26.1768)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A8D #8D6F2C
analogous
#2C7B8D #2C4A8D #3F2C8D
triadic
#2C4A8D #8D2C4A #4A8D2C
tetradic
#2C4A8D #8D2C7B #8D6F2C #2C8D3F
square
#2C4A8D #8D2C7B #8D6F2C #2C8D3F
split-complementary
#2C4A8D #8D3F2C #7B8D2C
monochromatic
#0F1930 #1D325E #2C4A8D #3B62BC #6585CF

Accessibility & contrast

On white

8.50
#2C4A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2C4A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4A8D
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4A8D#FFFFFF#000000##FFFFFF
##2C4A8D1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285190
Deuteranopia (green-blind)
#15498C
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4a8d;
/* rgb */ color: rgb(44, 74, 141);
/* oklch */ color: oklch(42.3% 0.117 264.0);
Tailwind
colors: {
  custom: {
    50: '#717caf',
    500: '#2c4a8d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a8d;
$custom-light: #717caf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a8d",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 221.443,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42317,
    "c": 0.11674,
    "h": 264
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#2C4A8D
secondary
#B59B60
accent
#AF4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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