#2C4D8D#2C4D8D

#2C4D8D is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.113 H 262.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2C4D8D
RGBrgb(44, 77, 141)
HSLhsl(220, 52%, 36%)
HSVhsv(220, 69%, 55%)
CMYKcmyk(68.8%, 45.4%, 0%, 44.7%)
CIE-LABlab(33.49, 10.27, -39.14)
CIE-LCHlch(33.49, 40.47, 284.70°)
OKLaboklab(43% -0.0153 -0.1119)
OKLCHoklch(43% 0.113 262.2)
XYZxyz(8.4986, 7.7655, 26.2451)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D8D #8D6C2C
analogous
#2C7E8D #2C4D8D #3C2C8D
triadic
#2C4D8D #8D2C4D #4D8D2C
tetradic
#2C4D8D #8D2C7E #8D6C2C #2C8D3C
square
#2C4D8D #8D2C7E #8D6C2C #2C8D3C
split-complementary
#2C4D8D #8D3C2C #7E8D2C
monochromatic
#0F1A30 #1D345E #2C4D8D #3B66BC #6589CF

Accessibility & contrast

On white

8.22
#2C4D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2C4D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D8D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D8D#FFFFFF#000000##FFFFFF
##2C4D8D1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E548F
Deuteranopia (green-blind)
#1D4B8C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c4d8d;
/* rgb */ color: rgb(44, 77, 141);
/* oklch */ color: oklch(43.0% 0.113 262.2);
Tailwind
colors: {
  custom: {
    50: '#717eaf',
    500: '#2c4d8d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d8d;
$custom-light: #717eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d8d",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 219.588,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42999,
    "c": 0.11291,
    "h": 262.2
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#2C4D8D
secondary
#B59860
accent
#AB4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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