#2C4C8A#2C4C8A

#2C4C8A is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.110 H 262.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2C4C8A
RGBrgb(44, 76, 138)
HSLhsl(220, 52%, 36%)
HSVhsv(220, 68%, 54%)
CMYKcmyk(68.1%, 44.9%, 0%, 45.9%)
CIE-LABlab(33.00, 9.80, -38.08)
CIE-LCHlch(33.00, 39.32, 284.43°)
OKLaboklab(42.56% -0.0149 -0.1088)
OKLCHoklch(42.56% 0.11 262.2)
XYZxyz(8.2090, 7.5385, 25.0623)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C8A #8A6A2C
analogous
#2C7B8A #2C4C8A #3B2C8A
triadic
#2C4C8A #8A2C4C #4C8A2C
tetradic
#2C4C8A #8A2C7B #8A6A2C #2C8A3B
square
#2C4C8A #8A2C7B #8A6A2C #2C8A3B
split-complementary
#2C4C8A #8A3B2C #7B8A2C
monochromatic
#0E192D #1D325C #2C4C8A #3B66B8 #6387CD

Accessibility & contrast

On white

8.37
#2C4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2C4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4C8A
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C8A#FFFFFF#000000##FFFFFF
##2C4C8A1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4c8a;
/* rgb */ color: rgb(44, 76, 138);
/* oklch */ color: oklch(42.6% 0.110 262.2);
Tailwind
colors: {
  custom: {
    50: '#707dac',
    500: '#2c4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c8a;
$custom-light: #707dac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c8a",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 219.574,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.10977,
    "h": 262.2
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#2C4C8A
secondary
#B4975E
accent
#AB4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2C4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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