#2C4E8D#2C4E8D

#2C4E8D is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.2% C 0.112 H 261.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2C4E8D
RGBrgb(44, 78, 141)
HSLhsl(219, 52%, 36%)
HSVhsv(219, 69%, 55%)
CMYKcmyk(68.8%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.79, 9.60, -38.67)
CIE-LCHlch(33.79, 39.84, 283.94°)
OKLaboklab(43.23% -0.0164 -0.1104)
OKLCHoklch(43.23% 0.112 261.6)
XYZxyz(8.5691, 7.9065, 26.2686)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E8D #8D6B2C
analogous
#2C7F8D #2C4E8D #3B2C8D
triadic
#2C4E8D #8D2C4E #4E8D2C
tetradic
#2C4E8D #8D2C7F #8D6B2C #2C8D3B
square
#2C4E8D #8D2C7F #8D6B2C #2C8D3B
split-complementary
#2C4E8D #8D3B2C #7F8D2C
monochromatic
#0F1A30 #1D345E #2C4E8D #3B68BC #658ACF

Accessibility & contrast

On white

8.14
#2C4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2C4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E8D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E8D#FFFFFF#000000##FFFFFF
##2C4E8D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#204B8C
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c4e8d;
/* rgb */ color: rgb(44, 78, 141);
/* oklch */ color: oklch(43.2% 0.112 261.6);
Tailwind
colors: {
  custom: {
    50: '#707faf',
    500: '#2c4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e8d;
$custom-light: #707faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e8d",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 218.969,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43228,
    "c": 0.11165,
    "h": 261.6
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#2C4E8D
secondary
#B59760
accent
#A94CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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