#2C4D7D#2C4D7D

#2C4D7D is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.9% C 0.089 H 257.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2C4D7D
RGBrgb(44, 77, 125)
HSLhsl(216, 48%, 33%)
HSVhsv(216, 65%, 49%)
CMYKcmyk(64.8%, 38.4%, 0%, 51%)
CIE-LABlab(32.53, 4.25, -30.81)
CIE-LCHlch(32.53, 31.10, 277.85°)
OKLaboklab(41.95% -0.019 -0.0874)
OKLCHoklch(41.95% 0.089 257.8)
XYZxyz(7.3929, 7.3232, 20.4220)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D7D #7D5C2C
analogous
#2C757D #2C4D7D #342C7D
triadic
#2C4D7D #7D2C4D #4D7D2C
tetradic
#2C4D7D #7D2C75 #7D5C2C #2C7D34
square
#2C4D7D #7D2C75 #7D5C2C #2C7D34
split-complementary
#2C4D7D #7D342C #757D2C
monochromatic
#0C1522 #1C3150 #2C4D7D #3C69AA #5D88C6

Accessibility & contrast

On white

8.52
#2C4D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2C4D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D7D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D7D#FFFFFF#000000##FFFFFF
##2C4D7D1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#00585F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4d7d;
/* rgb */ color: rgb(44, 77, 125);
/* oklch */ color: oklch(41.9% 0.089 257.8);
Tailwind
colors: {
  custom: {
    50: '#6d7ea3',
    500: '#2c4d7d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d7d;
$custom-light: #6d7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d7d",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 125
  },
  "hsl": {
    "h": 215.556,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41946,
    "c": 0.08945,
    "h": 257.8
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#2C4D7D
secondary
#AC8A59
accent
#A050D8
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2C4D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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