#2C4C8D#2C4C8D

#2C4C8D is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.114 H 262.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2C4C8D
RGBrgb(44, 76, 141)
HSLhsl(220, 52%, 36%)
HSVhsv(220, 69%, 55%)
CMYKcmyk(68.8%, 46.1%, 0%, 44.7%)
CIE-LABlab(33.19, 10.94, -39.62)
CIE-LCHlch(33.19, 41.10, 285.43°)
OKLaboklab(42.77% -0.0143 -0.1133)
OKLCHoklch(42.77% 0.114 262.8)
XYZxyz(8.4292, 7.6266, 26.2220)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C8D #8D6D2C
analogous
#2C7D8D #2C4C8D #3D2C8D
triadic
#2C4C8D #8D2C4C #4C8D2C
tetradic
#2C4C8D #8D2C7D #8D6D2C #2C8D3D
square
#2C4C8D #8D2C7D #8D6D2C #2C8D3D
split-complementary
#2C4C8D #8D3D2C #7D8D2C
monochromatic
#0F1A30 #1D335E #2C4C8D #3B65BC #6588CF

Accessibility & contrast

On white

8.32
#2C4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2C4C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4C8D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C8D#FFFFFF#000000##FFFFFF
##2C4C8D1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4c8d;
/* rgb */ color: rgb(44, 76, 141);
/* oklch */ color: oklch(42.8% 0.114 262.8);
Tailwind
colors: {
  custom: {
    50: '#717daf',
    500: '#2c4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c8d;
$custom-light: #717daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c8d",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 220.206,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4277,
    "c": 0.11417,
    "h": 262.8
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#2C4C8D
secondary
#B59960
accent
#AC4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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