#2C4E8F#2C4E8F

#2C4E8F is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.115 H 262.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2C4E8F
RGBrgb(44, 78, 143)
HSLhsl(219, 53%, 37%)
HSVhsv(219, 69%, 56%)
CMYKcmyk(69.2%, 45.5%, 0%, 43.9%)
CIE-LABlab(33.91, 10.36, -39.69)
CIE-LCHlch(33.91, 41.02, 284.63°)
OKLaboklab(43.37% -0.016 -0.1134)
OKLCHoklch(43.37% 0.115 262)
XYZxyz(8.7193, 7.9666, 27.0595)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E8F #8F6D2C
analogous
#2C808F #2C4E8F #3C2C8F
triadic
#2C4E8F #8F2C4E #4E8F2C
tetradic
#2C4E8F #8F2C80 #8F6D2C #2C8F3C
square
#2C4E8F #8F2C80 #8F6D2C #2C8F3C
split-complementary
#2C4E8F #8F3C2C #808F2C
monochromatic
#0F1B31 #1E3460 #2C4E8F #3A68BE #668AD0

Accessibility & contrast

On white

8.10
#2C4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2C4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E8F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E8F#FFFFFF#000000##FFFFFF
##2C4E8F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5591
Deuteranopia (green-blind)
#1D4C8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4e8f;
/* rgb */ color: rgb(44, 78, 143);
/* oklch */ color: oklch(43.4% 0.115 262.0);
Tailwind
colors: {
  custom: {
    50: '#717fb0',
    500: '#2c4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e8f;
$custom-light: #717fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e8f",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 219.394,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43366,
    "c": 0.11456,
    "h": 262
  },
  "luminance": 0.07967
}

Semantic roles & 50–950 ramp

primary
#2C4E8F
secondary
#B69961
accent
#AB4BDC
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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