#2C4E8B#2C4E8B

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

Color values

HEX#2C4E8B
RGBrgb(44, 78, 139)
HSLhsl(219, 52%, 36%)
HSVhsv(219, 68%, 55%)
CMYKcmyk(68.3%, 43.9%, 0%, 45.5%)
CIE-LABlab(33.66, 8.84, -37.64)
CIE-LCHlch(33.66, 38.66, 283.22°)
OKLaboklab(43.09% -0.0168 -0.1074)
OKLCHoklch(43.09% 0.109 261.1)
XYZxyz(8.4216, 7.8475, 25.4920)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E8B #8B692C
analogous
#2C7D8B #2C4E8B #392C8B
triadic
#2C4E8B #8B2C4E #4E8B2C
tetradic
#2C4E8B #8B2C7D #8B692C #2C8B39
square
#2C4E8B #8B2C7D #8B692C #2C8B39
split-complementary
#2C4E8B #8B392C #7D8B2C
monochromatic
#0F1A2E #1D345D #2C4E8B #3B68B9 #648ACE

Accessibility & contrast

On white

8.17
#2C4E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2C4E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E8B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E8B#FFFFFF#000000##FFFFFF
##2C4E8B1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548D
Deuteranopia (green-blind)
#224B8A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c4e8b;
/* rgb */ color: rgb(44, 78, 139);
/* oklch */ color: oklch(43.1% 0.109 261.1);
Tailwind
colors: {
  custom: {
    50: '#707fad',
    500: '#2c4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e8b;
$custom-light: #707fad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e8b",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 218.526,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43092,
    "c": 0.10873,
    "h": 261.1
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#2C4E8B
secondary
#B4965F
accent
#A84CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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