#2C4E8E#2C4E8E

#2C4E8E is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.3% C 0.113 H 261.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2C4E8E
RGBrgb(44, 78, 142)
HSLhsl(219, 53%, 36%)
HSVhsv(219, 69%, 56%)
CMYKcmyk(69%, 45.1%, 0%, 44.3%)
CIE-LABlab(33.85, 9.98, -39.18)
CIE-LCHlch(33.85, 40.43, 284.29°)
OKLaboklab(43.3% -0.0162 -0.1119)
OKLCHoklch(43.3% 0.113 261.8)
XYZxyz(8.6438, 7.9364, 26.6623)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E8E #8E6C2C
analogous
#2C7F8E #2C4E8E #3B2C8E
triadic
#2C4E8E #8E2C4E #4E8E2C
tetradic
#2C4E8E #8E2C7F #8E6C2C #2C8E3B
square
#2C4E8E #8E2C7F #8E6C2C #2C8E3B
split-complementary
#2C4E8E #8E3B2C #7F8E2C
monochromatic
#0F1B31 #1E345F #2C4E8E #3A68BD #658ACF

Accessibility & contrast

On white

8.12
#2C4E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4E8E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E8E#FFFFFF#000000##FFFFFF
##2C4E8E1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4e8e;
/* rgb */ color: rgb(44, 78, 142);
/* oklch */ color: oklch(43.3% 0.113 261.8);
Tailwind
colors: {
  custom: {
    50: '#717faf',
    500: '#2c4e8e',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e8e;
$custom-light: #717faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e8e",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 142
  },
  "hsl": {
    "h": 219.184,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43297,
    "c": 0.11311,
    "h": 261.8
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#2C4E8E
secondary
#B69860
accent
#AA4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C4E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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