#2C4D8E#2C4D8E

#2C4D8E is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.1% C 0.114 H 262.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2C4D8E
RGBrgb(44, 77, 142)
HSLhsl(220, 53%, 36%)
HSVhsv(220, 69%, 56%)
CMYKcmyk(69%, 45.8%, 0%, 44.3%)
CIE-LABlab(33.55, 10.65, -39.65)
CIE-LCHlch(33.55, 41.06, 285.03°)
OKLaboklab(43.07% -0.0151 -0.1134)
OKLCHoklch(43.07% 0.114 262.4)
XYZxyz(8.5733, 7.7954, 26.6388)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D8E #8E6D2C
analogous
#2C7E8E #2C4D8E #3C2C8E
triadic
#2C4D8E #8E2C4D #4D8E2C
tetradic
#2C4D8E #8E2C7E #8E6D2C #2C8E3C
square
#2C4D8E #8E2C7E #8E6D2C #2C8E3C
split-complementary
#2C4D8E #8E3C2C #7E8E2C
monochromatic
#0F1A31 #1E345F #2C4D8E #3A66BD #6589CF

Accessibility & contrast

On white

8.21
#2C4D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2C4D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D8E
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D8E#FFFFFF#000000##FFFFFF
##2C4D8E1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4d8e;
/* rgb */ color: rgb(44, 77, 142);
/* oklch */ color: oklch(43.1% 0.114 262.4);
Tailwind
colors: {
  custom: {
    50: '#717eaf',
    500: '#2c4d8e',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d8e;
$custom-light: #717eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d8e",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 219.796,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43068,
    "c": 0.11437,
    "h": 262.4
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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